MPCS 51050 OO Architecture: Patterns, Technologies, Implementations (Spring 2024)

Section 1
Instructor(s) Shacklette, Mark (jmshackl)
Location Online
Meeting Times Monday 4:10pm - 6pm
Fulfills Specialization - Software Engineering (SE-1) Specialization - Software Engineering (SE-2) Elective


Course Description

This course gives hands-on experience in architecture and design and the communication of such designs in the form of patterns. There are no formal prerequisites except solid familiarity with Java and optionally familiarity with C++.

The course is designed to give students a fundamental introduction to design and architectural patterns as they are implemented in large scale system architectures currently used in industry.  Students will be encouraged to explore the various implementation possibilities afforded by these patterns.  Trade-offs in terms of performance, development time, maintenance impact, etc. will also be discussed. Students will gain exposure to several industry-leading tools including Apache ActiveMQ and ServiceMix.

Specific Learning Objectives include:

  1. Recognize and define design and architectural patterns in current common industry use
  2. Create code implementations of these patterns
  3. Be able to discuss implementation trade-offs of certain patterns with respect to others
  4. Provide exposure to several industry-standard pattern implementations
  5. Understand and be able to implement common code refactorings


Course Contents

This course has two different foci: design patterns and architectural patterns.

After a brief review of the fundamentals of object orientation, including inheritance and polymorphism, the first focus on design patterns concentrates on several different design patterns or styles, including model-view-controller, factories, template methods, adapters, visitor, iterator, singleton, composite, etc.  Historical anticedents of patterns will be reviewed in order to give students a fundamental context in such concepts.  Students will work on labs that will give them an opportunity to build software (in Java and optionally C++) that implement these various patterns.


The second focus is on a selected architectural pattern metaphor, and this year's focus will be on Enterprise Integration Patterns. Patterns to be covered include Pipes and Filters, Message Queues, Message Broker, Message Bus, Message Channel, Message Router, among others.  Concepts in Canonical Data Models will also be covered. Fundamentals including Pub/Sub and Point-to-Point models are covered including message routing, translation, filtering.  Apache ActiveMQ and ServiceMix ESB will form the basis for the implementations.

Labs will be designed to reinforce lectures and to help students implement each pattern covered.  Students will be able to choose which language (Java or C++) in which they wish to work for a given design patterns.  All students will work in Java for Integration Pattern implementatons as Java is assumed by ActiveMQ and ServiceMix.



There will be 6 laboratory assignments, one every week for the weeks 3 through 8. (the last 3 weeks will be devoted to the course project deliverable):

Lab1:  Introductory Design Pattern Implementations (Week 3)

Lab2:  Intermediate Design Pattern Implementations (Week 4)

Lab3:  Advanced Design Pattern Implementations (Week 5)

Lab4:  Introduction to Messaging & ActiveMQ/ServiceMQ Environment Setup (Week 6)

Lab5:  Fundamental Messaging Pattern Implementations (Week 7)

Lab6:  Advanced Messaging Pattern Implementations (Week 8)

There will be a final exam covering the major topics of the course presented in lectures, talks, and reading.

Students will work on a course project.  Each student will develop in code a system based on messaging and selected design patterns.


Course Textbook

Design Patterns, Gamma, et. al., Addison Wesley, 1995, ISBN: 0201633612

Object Oriented Analysis and Design, 3rd Ed., Grady Booch, Addison Wesley, 2007, ISBN:  020189551X

Enterprise Integration Patterns, Hohpe & Woolf, Addison Wesley, 2004, ISBN: 0321200683

Course Prerequisites

Core Programming

Other Prerequisites

Knowledge of java is required as you will be actively coding in Java for our second focus: Integration Patterns and Implementations. In addition, knowledge of C++ is optional. This course requires competency in Unix and Linux. If you attended the MPCS Unix Bootcamp you covered the required material. If you did not, please review the UChicago CS Student Resource Guide here:

Overlapping Classes

This class is scheduled at a time that conflicts with these other classes:

  • MPCS 51083-2 -- Cloud Computing
  • MPCS 52018-1 -- Advanced Computer Architecture
  • MPCS 51032-1 -- Advanced iOS Application Development
  • MPCS 53113-1 -- Natural Language Processing
  • MPCS 53120-1 -- Applied Data Analysis

Eligible Programs

MS in Computational Analysis in Public Policy (Year 1) MS in Computational Analysis in Public Policy (Year 2) MS in Molecular Engineering MA in Computational Social Science (Year 1) MA in Computational Social Science (Year 2) Bx/MS in Computer Science (Option 2: Professionally-oriented - CS Majors) Bx/MS in Computer Science (Option 3: Profesionally-oriented - Non-CS Majors) Masters Program in Computer Science