COMP 310/510
Fall 2013

Advanced Object-Oriented Programming and Design

Home  Info  Owlspace (310)   Owlspace (510)   Java Resources  Eclipse Resources  Piazza

Welcome to the Fall 2013 Comp310/510 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.

New!  See Comp310 in Action!

Cross-listing: Graduate students may take this class as COMP 510

Prerequisites:  Comp201, Comp211, Comp212 or Comp215      

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

CLASS TIMES:  MWF 1:00 PM - 1:050 PM  (DH 1064)

LAB TIMES:    (OEDK 112 -- Computer Lab)  Labs are being re-arranged, so everything is tentative.   Please go fill out both the Lab Times and Initial Experience surveys right away!

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.



Labs (Tues & Wed.)

Assignment Due Date 
(at beginning of class!)

Mon. 08/26/13 Lec01: Administrivia, Getting started Lab01: Software Installs, getting started with Eclipse and Building GUIs with WindowBuilder Complete your software installations BEFORE lab!
Wed. 08/28/13 Lec02: GUI Building
Fri. 08/30/13 Lec03: Programming Paradigms    
Mon. 09/02/13 Labor Day Holiday -- No Class! Labs as normal on Tues. & Wed.  
Wed. 09/04/13 Lec04: UML Diagrams
Lec05: UML continued, Source Control & Ballworld Demos
Lab02: Animation HW01: Simple GUI Program with Polymorphism
Fri. 09/06/13 Lec06: HW01 review
Lec07:  Designing a Ball 
Mon. 09/09/13 Lec08: Connecting the Pieces Lab03: MVC Implementation  
Wed. 09/11/13 Lec09: Composing Behaviors   HW02: Inheritance-based Ballworld
Fri. 09/13/13 Lec10: Faking out the GUI with Factories
Mon. 09/16/13 Lec11: Factories, cont. & Transforming How We Paint Lab04: Transforming Shapes  
Wed. 09/18/13 Lec12:  Using Superclasses as Service Providers    
Fri. 09/20/13 Lec13: Painting continued and Command-Driven Dispatching   HW03: Composition-based Ballworld 
Mon. 09/23/13 Lec14: Command Dispatching Lab05: Sending Commands  
Wed. 09/25/13 Lec15: Collisions    
Fri. 09/27/13 Lec16:  Collisions, continued...
Lec17: Ballworld Recap
Lec18: Debugging with Eclipse and Visitors, revisited
  HW04: Command-Driven FishWorld
Mon. 09/30/13 Lec19: Visitors... Lab06: Collisions and Debugging  
Wed. 10/02/13 Visitors, continued...    
Fri. 10/04/13 Lec20: Extended Visitors    
Mon. 10/07/13 Lec21: Extended Visitors Example - Self-balancing Trees  Lab07: Playing Music in Java HW05: Command-dispatching Ballworld with Inter-ball Interactions
Wed. 10/09/13 Lec22: Extended Visitors Example, continued..., Music Project.    
Fri. 10/11/13 Lec23: Insertion and Deletion Algorithms for Self-Balancing Trees.    
Mon 10/14/13
Tues. 10/15/13
Midterm Recess:  No Classes! No Labs This Week!  
Wed. 10/16/13 Lec24: Insertion and Deletion Algorithms for Self-Balancing Trees, continued...
Lec25: Remote Method Invocation (RMI)
Fri. 10/18/13 Lec26: RMI continued... HW06: ABC Music Player
Mon. 10/21/13 Lec27: RMI Stubs Everywhere! Lab08: Java RMI  
Wed. 10/23/13 Lec28: Generic Extended Visitors and Data Packets    
Fri. 10/25/13 Lec29: Use Cases and ChatApp API Design    
Mon. 10/28/13 Lec30: Chat Program Interfaces Lab09: ChatApp Design HW07: Remote Task Execution
Wed. 10/30/13 Lec31: ChatApp Interfaces...    
Fri. 11/01/13 Lec32: ChatApp Design...    
Mon. 11/04/13 Lec33:  ChatApp finalization Lab10: ChatApp Design, continued & Simple Threads  
Wed. 11/06/13 Lec34:  ChatApp finalization, continued..    Testing session OEDK Computer Lab @ Thurs. 11/7/13 1 PM - 4 PM
Fri. 11/08/13 Lec35: Design Post-Mortem    
Mon. 11/11/13 Lec36: Final Project Lab11: Final Project Design HW08:  RMI Chat Program  New Due Date!
Wed. 11/13/13 Lec37: Game specifics discussion and Sequence Diagramming   Project Pair selection due
Fri. 11/15/13 Lec38: Final Project Milestone 1 prep Project Proposals due in Piazza
Mon. 11/18/13 Lec39: RMI Garbage-Collecting and Final Project Issues Lab12: Final Project Design and Implementation  
Wed. 11/20/13 Lec40: Mixed Data  Dictionareis, WWJ Mapping Library and the map package    
Fri. 11/22/13 Lec41: Game Issues   NEW DUE DATE!
Final Project: Milestone 1
Mon. 11/25/13 Lec42: Final Project Development Issues Lab13: Final Project Communciations Testing
Wed. 11/27/13 Lec43: Final Project Testing and Issues Discussion
Fri. 11/29/13 Thanksgiving Recess -- No Class!
Mon. 12/0213 Lec44: Tips & Traps and Team Work Lab14:  Final Project testing
Wed. 12/04/13 Lec45: Lessons from Labs
Fri. 12/06/13 Lec46: We Made It! Last Day of Classes!  
Tues. 12/10/13
9:00 AM - 11:30 AM
Practice session DH3092 For testing and debugging
Thurs. 12/12/13
1:00 PM - 6:00 PM
Practice session New Location!
OEDK Classroom   
For testing and debugging
Fri. 12/13/13
1:00 PM - 4:00 PM
Practice session DH3092  For testing and debugging
Mon. 12/16/13
9:30 AM - 11:30 AM
1:30 PM - 4:30 PM
Practice session DH3092 For testing and debugging
Tues. 12/17/13
9:00 AM - 12:00 PM
Demo Day!    (Instructions)  OEDK Classroom  Final Project must be fully operational
Operational testing will NOT be done after the demo time!
Wed. 12/18/13 Final Project Code and Documentation Submission Due at 11:59 PM  Final Project: Milestone 2

© 2013 by Stephen Wong