COMP 310
Fall 2011

Advanced Object-Oriented Programming and Design

Home  Info  Owlspace  Java Resources  Eclipse Resources

Welcome to the Fall 2011 Comp310 home page!

Object-oriented programming is the major software paradigm used in large systems today.   This includes most desktop applications such a office productivity software, data management applications and even the main frameworks of many games.  But object-oriented programming and design (OOP/D) absolutely rules in the enterprise-class arena, the globe-spanning, mission-critical systems that, via the Internet, tie together international corporations from one end of the Earth to the other.  In Comp310, we will discover how to use state-of-the-art object-oriented programming and design techniques to create flexible and scalable software systems that can interact with eachother from anywhere in the world.  We will learn about software design patterns and how they are used in multiple programming paradigms.   Through a combination of theory and coding, the class will explore how highly decoupled systems with dynamically configurable behaviors are designed and implemented.   The class will learn how to use design patterns as both a means of expressing fundamental computer science concepts as well as the building blocks in an abstract decomposition of a complex problem.  In addition, the class will learn to use industry standard tools and technologies such as the Eclipse integrated development environment, Subversion source control and round-trip engineering design tools. 

The course format will be that of lectures covering the theoretical, engineering and technological aspects of object-oriented programming and design that will be implemented in the project-like homework assignments.   These homework projects will build upon each other as much as possible, culminating in a networked application.

See the Comp310 announcement flyer

Prerequisites:  Comp201 (not Comp202 -- typo on Registrar's site), Comp211 or Comp212      

Primary target audience:  Second or third year CS students who are interested in object-oriented programming and design, large flexible systems, enterprise-class networked applications, dynamically configurable systems and software engineering.    Students who plan on taking Comp410 in the future are strongly advised to take Comp310 beforehand.

For more and the latest infomation, please see the Info page or contact Dr. Wong  (swong at


For a tentative topics list, please see the Info page.

Tentative Schedule

This schedule should only be considered as a guide.  Expect that the schedule will change often!   

Instructions on how to use Subclipse/Subversion to turn-in your assignements.




Assignment Due Date 
(at beginning of class!)

Mon. 08/22/11 Lec01: Administrivia, Getting started    
Wed. 08/24/11 Lec02: Programming Paradigms    
Fri. 08/26/11 Lec03: GUI Building    
Mon. 08/29/11 Lec04: UML Diagrams Lab01: Building GUIs with WindowBuilder  
Wed. 08/31/11 Lec05: UML continued, Source Control & Ballworld Demos  
Fri. 09/02/11 Lec06: HW01 review HW01: Simple GUI Program with Polymorphism
Mon. 09/05/11 Labor Day Holiday -- No Class!    
Wed. 09/07/11 Lec07:  Designing a Ball  Lab02: Animation
Fri. 09/10/11 Lec08: Connecting the Pieces
Mon. 09/12/11 Lec09: Composing Behaviors Lab03: MVC Implementation HW02: Inheritance-based Ballworld
Wed. 09/14/11 Lec10: Faking out the GUI with Factories    
Fri. 09/16/11 Lec11: Factories, cont. & Transforming How We Paint     
Mon. 09/19/11 Lec12:  Using Superclasses as Service Providers Lab04: Transforming Shapes  
Wed. 09/21/11 Lec13: Painting continued and Command-Driven Dispatching   HW03: Composition-based Ballworld 
Fri. 09/23/11 Lec14: Command Dispatching    
Mon. 09/26/11 Lec15: Collisions Lab05: Sending Commands  
Wed. 09/28/11 Lec16:  Collisions, continued...   HW04: Command-Driven FishWorld
Fri. 09/30/11 Lec17: Ballworld Recap    
Mon. 10/03/11 Lec18: Debugging with Eclipse and Visitors, revisited Lab06: Collisions and Debugging  
Wed. 10/05/11 Lec19: Visitors...    
Fri. 10/07/11 Lec20: Extended Visitors   HW05: Command-dispatching Ballworld with Inter-ball Interactions
Mon 10/10/11 Midterm Recess -- No Classes!    
Wed. 10/12/11 Lec21: Extended Visitors Example - Self-balancing Trees    
Fri. 10/14/11 Lec22: Extended Visitors Example, continued...    
Mon. 10/17/11 Lec23: Extended Visitors Example, continued..., Music project Lab07: Playing Music in Java  
Wed. 10/19/11 Lec24: Insertion and Deletion Algorithms for Self-Balancing Trees    
Fri. 10/21/11 Lec25: Remote Method Invocation (RMI)   HW06: ABC Music Player
Mon. 10/24/11 Lec26: RMI continued... Lab08: Java RMI  
Wed. 10/26/11 Lec27: RMI Stubs Everywhere!    
Fri. 10/28/11 Lec28: Generic Extended Visitors and Data Packets   HW07: Remote Task Execution
Mon. 10/31/11 Lec29: Use Cases and ChatApp API Design Lab09: ChatApp Design  
Wed. 11/02/11 Lec30: Chat Program Interfaces    
Fri. 11/04/11 Lec31: ChatApp Interfaces...    
Mon. 11/07/11 Lec32: ChatApp Design... Lab10: ChatApp Design, continued & Simple Threads  
Wed. 11/10/11 Lec33:  ChatApp finalization    
Fri. 11/11/11 Lec34:  ChatApp Testing     
Mon. 11/14/11 Lec35: Design Post-Mortem Lab11: Final Project Design HW08:  RMI Chat Program   (Due 10 AM Tues. 11/15/2011)
Wed. 11/16/11 Lec36: Final Project    
Fri. 11/18/11 Lec37: Weekend Planning.    
Mon. 11/21/11 Lec38: Final Project Milestone 1 prep Lab12: Final Project Design and Implementation
Wed. 11/23/11 Lec39: RMI Garbage-Collecting and Final Project Quests   Final Project: Milestone 1
Fri. 11/25/11 Thanksgiving Recess -- No Class!    
Mon. 11/28/11 Lec40: WWJ Mapping Library Lab13: Using World Wind Java
Wed. 11/30/11 Lec41: Game Issues and Sequence Diagramming    
Fri. 12/02/11 Lec42: We Made It! Last Day of Classes!  
Mon 12/05/11 Practice day DH3092  2:00 PM - 5:00 PM For testing and debugging
Tue. 12/06/11 Practice day OEDK classrooom: 2:00 PM - 5:00 PM For testing and debugging
Wed. 12/07/11  Demo Day!   9:00am - 12:00 PM  OEDK classroom Final Project must be fully operational.
Fri. 12/9/11 Final Project Submission Due at 11:59 PM  Final Project: Milestone 2

© 2011 by Stephen Wong and Scott Rixner