e4 - CS3SAD/CSMDAS:SoftwareArchitectureandDesign Weeks6to8

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Weeks 6 to 8 Exercise sheet 4: .NET/COM+-based architectures, enterprise  styles and OCL 1. Consider the following parts of abstract UML2 architectures. Redraw them using the Microsoft specialization of UML2, using COM+ services where appropriate: a) Part of an investment system. A managed investment consists of a range of investments maintained by various groups – a bank (compound interest term deposit), the stock market (stocks) and a property group (shares in various properties). The investment system should permit a customer to withdraw their investment from the fund – this will result in withdrawal from all from investments at the same time, subject to potential penalties. The system consists of four components. Three components handle interaction with the three investment groups: a StockMarket component, a Property group component and a Bank component. The Management component manages investments through the other three components. Managment StockMarket Bank Property IManagement interface permits clients to withdraw funds from the investment – resulting in money withdrawn from all managed components at the same time Answer: The withdrawal functionality requires all four components to be within a single transaction. This prevents a total withdrawal request resulting in only a partial withdrawal in the event of one of the components crashing. A sample solution is as follows:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/09/2011 for the course ECE 750-T11 taught by Professor Ladan during the Fall '11 term at Waterloo.

Page1 / 5

e4 - CS3SAD/CSMDAS:SoftwareArchitectureandDesign Weeks6to8

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online