Cooperative Programming in Java (CPJ) - Winter Term 2005/2006
Cooperative Programming in Java (CPJ) is a two day workshop providing the essential skills needed throughout all of our projects. It takes place
October 20-21, 2005 at Room 308, Bauhausstrasse 11.
First Day
First Session (9:00 - 12:00), Dipl.-Inf. Tareg Egla
What is Java?
- Writing, compiling & running a code in Java
The Java programming language
- Data types (int, float, arrays etc.)
- Flow Control (if-else, switch etc.)
- Do-while, while, for
Resources:
http://java.sun.com/docs/books/tutorial/index.html - The Java Tutorial
Second Session (13:00 - 16:00), Christoph Oemig, M.Sc.
This session takes a look at conventions and tools for the Java programming language, especially:
- Code Conventions for the Java programming language
- The Javadoc Tool
- Apache Ant - A Java based build tool.
- CVS - Concurrent Versions System
Resources:
http://java.sun.com/docs/codeconv
http://java.sun.com/j2se/javadoc
http://ant.apache.org
http://cvshome.org
Second Day
First Session (9:00 - 12:00), Dipl.-Inf. Tareg Egla
Theoretical aspects of OOP
- Encapsulation (information hiding), Inheritance & Polymorphism
- Objects
- What are classes & instances?
- Writing and instancing a class in java
Useful data structures
- Hash table, vector, set etc.
Resources:
http://java.sun.com/docs/books/tutorial/index.html - The Java Tutorial
Second Session (13:00 - 16:00), Christoph Oemig, M.Sc.
Advanced tool support for Java:
- Eclipse - An open extensible IDE for anything and nothing in particular.
- Code convention integration
- Javadoc integration
- Ant integration
- CVS integration
- UML integration
- Refactoring integration
Resources:
Fowler, M. (1999). Refactoring. Addison Wesley
Gamma et al. (1995). Design Pattern. Addison Wesley
http://www.eclipse.org
http://www.eclipseuml.com
http://developer.apple.com/tools/eclipse.html
http://developer.apple.com/tools/usingeclipse.html