

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Lecture 15
Instructor: John Musacchio UC Santa Cruz May 16, 2005
ย Class Announcements
ย Student Presentation
ย Application Architecture
ย American Airlines Case
ย Database Assignment due date extended! ย Wednesday May 25th
ย Shiv out of town May 17 - 23 ย Assignment 5 Due May 18 (Wednesday).
ย Read Ch 16 and XML note in reader for Wednesday
ย Student Presentations Wednesday ย Sean Martin ย Cathy Zhu
ย Jonathon Dwyer
into interacting modules.
purchase
ย Most architecture design is a mixture of decomposition and assembly.
ย Example: manage bank accounts
ย Decompose into software modules for ย transaction processing, ย statement generation
ย Further decompose transaction processing module into deposit and withdraw modulesโฆ
ย example โ ecommerce platform ย Acquire ย Linux pc (application server) ย IBM Mainframe (data server) ย Oracle DBMS ย Apache Web Server Software ย Websphere application middleware ย Assemble all pieces together. ย Mix with custom developed application logic module.
ย Object-Oriented Programming (OOP) Languages ย C++ ย Java ย Smalltalk ย The basic unit of modularity in OOP is an object.
ย Consider real-world objects or entities ย Example: A Cat ย You can see that it is black ย You observe that it bites when petted ย You observe that it meows when given food ย You cannot see the internals of how the cat functions. ย This entity has ย Attributes (the catโs color) ย Behavior (it bites when petted)
ย Also have ย Attributes ย Behavior ย For software objects ย Anattribute is a numerical value or data that is externally visible, and may be changeable. ย Ex: The cat is black
ย Amethod is an action available at the object interface ย Other objects invoke method, pass parameters and get returned data or other objects.
ย We can invoke the โfeedโ method and pass to the cat food, the cat will return a meow or other data.
ย The set of all interfaces and methods of an object, as well as accompanying
interface and functionality. ย Example: ย Cat is a class of objects ย Tom, Sylvester, and Toonces areinstances of that class.