Home

  WS 2006/07

  SS 2006

  WS 2005/06

  SS 2005

  WS 2004/05

  SS 2004

  WS 2003/04

  SS 2003

  WS 2002/03

  SS 2002

  WS 2001/02

Organisation




© 2000-2007 Grz
FHNW




Last update:
15. Februar 2009


 



Seminar Enterprise Computing WS 2006/07
Programming Styles and their Realizations in Java

In this seminar we look at different programming language styles which each addresses a different aspect.
  • Aspect-Oriented Programming (AOP) addresses the implementation of cross-cutting concerns
  • Feature-Oriented Programming (FOP) implements features as building blocks which may be used to extend existing and future classes.
  • Rule-Based Programming (RBP) is used when the business-logic can be expressed by if-else rules
  • Contract-Based Programming (DBC) is a programming style where pre- and postconditions and invariants are specified in the sourcecode and enforced by the runtime-system. This leads to more robust code.
In this seminar talks these different approaches are presented and discussed.

This seminar is part of the enterprise computing seminar. The program of te other part on Web-Services (SOAP vs REST) is avaliable at http://lis.fh-aargau.ch/ecsem/ECSeminar/WS06.html

Programming Styles and their Realizations in Java

Prof. Dr. Dominik Gruntz

Contract-Based Programming
Matthias Hausherr
November 22, 2006, 15:15 - 16:00
Programming and Design-by-contract is a programming method which has been introduced in the context of the programming language Eiffel by Bertrand Meyer. The idea is, that pre- and post-conditions are specified on methods and checked at runtime.
In this seminar presentation Java-based implementations of contract-based programming (jContractor, Jass) are presented and compared. In particular, the different ways how the approach is implemented is discussed.

Seminar Report::
DBC.pdf
References:

Rule-Base Programming with Drools/JBoss Rules
Patrick Meier
November 29, 2006, 15:15 - 16:00
Rule-based programming allows to define busines-logic outside of program code in a convenient way. The rules are specified in an "if-then-else" form. For the pattern maching the RETE algorithm is used.
In this seminar the drools / JBoss Rules engine is presented.

Seminar Report::
RBP.pdf
References:

Aspect-Oriented Programming with AspectJ
Oliver Rode
Januay 17, 2007, 15:15 - 16:00
Aspect-oriented programming (AOP)is a programming style which is used to implement cross-cutting aspects as e.g. logging or security aspects.
In this seminar the principles and the terms of AOP are presented and aspect-oriented programming is demonstrated with the help of AspectJ, a Java variant for AOP.

Seminar Report::
AOP.pdf
References:

Feature-Oriented Programming with Mixins and Multiple Inheritance
Beat Walti
Januay 31, 2007, 15:15 - 16:00
Feature Oriented Programming (FOP) is a programming style where features are raised to first-class entities in design. Features are implemented by cross-cuts that are modifications or extensions to multiple classes and are thus much closer to OO design than aspect-oriented programming (AOP).
The focus of this seminar is on Mixins and on Multiple Inheritance in the context of Java. It is shown, how Mixins or Multiple Inheritance could be implemented on top of the JVM.

Seminar Report::
FOP.pdf
References: