Slide 1

Slide 1 text

Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227 CSC 508/9 Software Engineering (Design & Deployment) Lecture 04. Software Architecture

Slide 2

Slide 2 text

Review

Slide 3

Slide 3 text

Draw the Diagram 3 public class B implements E { public B() C c1 = new C(); } public void method(A a) { B b = new B(); b.sleep(); a.method(new D()); } } public class Y extends B { private A []a = new A[5]; private X var = new X(); protected Y instance; } public class A extends B { C c1, c2; public A() { c1 = new C(); } public void method(D d) { d.working(); } } public class X { private String s; public void m() { B var = new A(); double x – Math.sqrt(5); } }

Slide 4

Slide 4 text

Architecture

Slide 5

Slide 5 text

Environment 5

Slide 6

Slide 6 text

Blueprint 6 Architecture Design Code

Slide 7

Slide 7 text

Eric Gamma 7

Slide 8

Slide 8 text

Homework 8 Brain View Controller Client Blackboard PostOffice Model Server Publisher Subscriber

Slide 9

Slide 9 text

Architecture Patterns • Model, View, Controller • Bl a ckbo a rd • Client - Server • Publisher - Subscriber 9

Slide 10

Slide 10 text

Questions 10

Slide 11

Slide 11 text

CSC 509 Software Engineering Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall 2025 Copyright. These slides can only be used as study material for the class CSC509 at Cal Poly. They cannot be distributed or used for another purpose.