5
Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

Embed Size (px)

Citation preview

Page 1: Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

Short Class Assignment:

IDL, Generated and Written Code

Objektorienteret Middleware (OOMI)

Page 2: Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

Agenda

• Part 1 (after initial CORBA intro):• A range of requirements are given• Consider IDL needed• Consider what tools to use to create stubs/skeletons• Consider which files gets generated – and what they consist of

• Part 2 (after CORBA code intro):• What do we need to code to complete • Which steps must we go through?

• Part 3 (after Architectural Design intro):• What are the potential problems in your original design?• Would you do anything in another way?• Is there anything missing in CORBA?

Page 3: Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

Part 1: Requirements -> IDL & Gen. Files

• A distributed Java server application needs to collets various vital signs from different C++ based embedded measuring stations

• Each Measuring Station has Station ID, a Station Type, and Measuring Frequency.

• Each measurement performed has Measure ID, Patient ID, a Measure Time Stamp, Attached Station ID

• Types of Measuring Stations• Pulse/ECG (only the pulse for this exercise)• Blood pressure• Temperature• Blood Gas level

• The Server should allow distributed PC clients to start and stop individual stations, as well as all stations at once

• Also the Server should allow PC clients to obtain data from individual stations (also getting a list of stations/station type)

• Also the Server should allow for getting live data as soon as they are available, and historical data from individual and/or all stations at once

1) Use 15 minutes for producing the IDL

2) Use 5 minutes to consider which tools to use

3) Use 5 minutes to consider which files gets generated and what they consist of

Page 4: Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

• A distributed Java server application needs to collets various vital signs from different C++ based embedded measuring stations

• Each Measuring Station has Station ID, a Station Type, and Measuring Frequency.

• Each measurement performed has Measure ID, Patient ID, a Measure Time Stamp, Attached Station ID

• Types of Measuring Stations• Pulse/ECG (only the pulse for this exercise)• Blood pressure• Temperature• Blood Gas level

• The Server should allow distributed PC clients to start and stop individual stations, as well as all stations at once

• Also the Server should allow PC clients to obtain data from individual stations (also getting a list of stations/station type)

• Also the Server should allow for getting live data as soon as they are available, and historical data from individual and/or all stations at once

4) Use 5 minutes: Consider what you must manually code – and using which tools to complete the application

Part 2: What to Manually Code & Link

Page 5: Short Class Assignment: IDL, Generated and Written Code Objektorienteret Middleware (OOMI)

• What are the potential problems in your original design?• Or was it just perfect?

• Would you do anything in another way?• Factory, Façade, DTO, Layering, Modules, Round-tripping

• Is there anything missing in CORBA?• Is it possible to implement at all?

5) Use 5 minutes: Consider your design from earlier. Anything needs changing?

Part 3: Architectural Considerations

6) Use 10 minutes: discussion in plenum