COMP 310
Spring 201
7

Advanced Object-Oriented Programming and Design

Home  Info  Canvas   Java Resources  Eclipse Resources  Piazza

Welcome to the Spring 2017 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.

Prerequisites:  Comp201, Comp211, Comp212 or Comp215      

Primary target audience:  Second or third year undergraduate 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 (also taking Comp405 before Comp410 is also highly recommended).   Undergraduates may only take Comp310 not Comp404 which is restricted to graduate students that have not already taken Comp310.

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

CLASS TIMES:  MWF 1:00 PM - 1:050 PM  (Ryon 201)

LAB TIMES:    (OEDK Classroom) 

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!   

General assignment requirements and instructions on how to use Subclipse/Subversion to turn-in your assignements.

 WARNING: The Microsoft Edge  and Chrome browsers cannot run the Java plug-in so you will need to switch to Internet Explorer or Firefox to run the demos.
(Still having troubles?  Check the Java Tips and Traps and post your issues to Piazza!)

Date

Lecture

Labs (Tues)

Assignment Due Date 
(at beginning of class!)

Mon. 01/09/17 Lec01: Administrivia, Getting started Lab01: Software Installs, getting started with Eclipse and Building GUIs with WindowBuilder Complete your software installations BEFORE lab!
Sign up for Piazza (click link above)
Wed. 01/11/17 Lec02: GUI Building
Fri. 01/13/17 Lec03: Programming Paradigms    
       
Mon. 01/16/17 MLK, Jr. Day Holiday -- No Class!
Labs as normal this week.
Lab02: Animation
 
Wed. 01/18/17 Lec04: UML Diagrams
Lec05: UML continued, Source Control & Ballworld Demos
  HW01: Simple GUI Program with Polymorphism
Fri. 01/20/17 Lec06: HW01 review
Lec07:  Designing a Ball 
 
       
Mon. 01/23/17 Lec08: Connecting the Pieces Lab03: MVC Implementation
Wed. 01/25/17 Lec09: Composing Behaviors   HW02: Inheritance-based Ballworld
Fri. 01/27/17 Lec10: Faking out the GUI with Factories
       
Mon. 01/30/17 Lec11: Factories, cont. & Transforming How We Paint Lab04: Transforming Shapes  
Wed. 02/01/17 Lec12:  Using Superclasses as Service Providers    
Fri. 02/03/17 Lec13: Painting continued and Command-Driven Dispatching   HW03: Composition-based Ballworld 
       
Mon. 02/06/17 Lec14: Command Dispatching Lab05: Sending Commands  
Wed. 02/08/17 Lec15: Collisions    
Thurs. 02/09/17 -
Fri. 02/10/17
Spring Recess:  No Classes!  
       
Mon. 02/13/17 Lec16:  Collisions, continued...
Lec17: Ballworld Recap
Lec18: Debugging with Eclipse and Visitors, revisited
Lab06: Collisions and Debugging HW04: Command-Driven FishWorld
Wed. 02/15/17 Lec19: Visitors...
   
Fri. 02/17/17 Visitors, continued...    
       
Mon. 02/20/17 Lec20: Extended Visitors  Lab07: Playing Music in Java HW05: Command-dispatching Ballworld with Inter-ball Interactions
Wed. 02/22/17 Lec21: Extended Visitors Example - Self-balancing Trees    
Fri. 02/24/17 Lec22: Extended Visitors Example, continued..., Music Project.
Mon. 02/27/17 Lec23: Insertion and Deletion Algorithms for Self-Balancing Trees. Lab08: Java RMI  
Wed. 03/01/17 Lec24: Insertion and Deletion Algorithms for Self-Balancing Trees, continued...
Lec25: Remote Method Invocation (RMI)
   
Fri. 03/03/17 Lec26: RMI continued... HW06: ABC Music Player
Mon. 03/06/17 Lec27: RMI Stubs Everywhere! Lab09: ChatApp Design  
Wed. 03/08/17 Lec28: Generic Extended Visitors and Data Packets    
Fri. 03/10/17 Lec29: Use Cases and ChatApp API Design   HW07: Remote Task Execution
Mon. 03/13/17 -
Fri. 03/17/17
Spring Break:  No Classes!    
       
Mon. 03/20/17 Lec30: Chat Program Interfaces Lab10: ChatApp Design, continued & Simple Threads  
Wed. 03/22/17 Lec31: ChatApp Interfaces...
Subgroup API proposals completed and documemented
  Final Project Pair selection due
Fri. 03/24/17 Lec32: ChatApp Design...
Full API Proposal Documentation complete and Presentations
   
Mon. 03/27/17 Lec33:  ChatApp finalization
Round 1 Proposal Presentations

Lab11: Final Project Design Full API Proposal Documentation complete and Presentations
Feedback of ALL proposals due @ 11:59PM
Wed. 03/29/17 Lec34:  ChatApp finalization, continued.. 
 
Fri. 03/31/17 Lec35: Design Post-Mortem
Round 2 Proposal Presentations
  Final Vote on winning proposal due @ 11:59PM
       
Mon. 04/03/17 Lec36: Final Project
Lab12: Final Project Design and Implementation Student-arranged Testing sessions TBA
Wed. 04/05/17 Lec37: Game specifics discussion and Sequence Diagramming HW08:  RMI Chat Program   
Fri. 04/07/17 Lec38: Final Project Milestone 1 prep  
 
Mon. 04/10/17 Lec39: RMI Garbage-Collecting and Final Project Issues Lab13: Final Project Communciations Testing Final Project Proposals due
Wed. 04/12/17 Lec40: Mixed Data  Dictionaries, WWJ Mapping Library and the map package
Final Project API Proposal Presentations (Feedback Round)
  Feedback of ALL proposals due @ 11:59PM
Fri. 04/14/17 Lec41: Game Issues
Lec42: Final Project Development Issues
  Final Project: Milestone 1
Mon. 04/17/17 Lec43: Final Project Testing and Issues Discussion
Lec44: Tips & Traps and Team Work
Final Project Proposal Presentations (Decision Round)
Lab14:  Final Project Testing Final Vote on winning proposal due @ 11:59PM
Wed. 04/19/17 Lec45: Lessons from Labs  
Fri. 04/21/17 Lec46: We Made It! Last Day of Classes!  
TBA Testing session DH 3092 For testing and debugging
TBA Testing session DH 3092 For testing and debugging
TBA Testing session DH 3092 For testing and debugging
TBA Testing session DH 3076 For testing and debugging
TBA Testing session DH 3092 For testing and debugging
Mon. 05/01/17
9:00 AM - 12:00 PM
OEDK basement
conference room and/or
computer lab -- details TBA.
(Regularly
scheduled exam
date/time)
Demo Day!    (Instructions) OEDK Classroom
(plus other OEDK rooms) 
Final Project must be fully operational
Operational testing will NOT be done after the demo time!
Wed. 05/03/17 Final Project Code and Documentation Submission Due at 11:59 PM  Final Project: Milestone 2

© 2017 by Stephen Wong