Skip to content

Monthly Archives: December 2009

Exercise on implementing collaborations with ObjectTeams/Java

Introduction ObjectTeams/Java (OT/J) is an extension to Java programming language that facilitates roles and collaborations as the first class language constructs. This article is an exercise on using (OT/J) for implementing collaborations. Subject area This exercise considers two bank operations – money transfer and fund cashing. The course of events for these two operations is […]

Using Java langauge constructs to define static graphs and trees

This article suggests an approach on adapting the Java programming language for defining static graphs and trees, gives an exercise on defining a microwave finite state automaton (FSA) using this approach and provides code sample for processing graph definitions