Analysis and Design Method for Osgi-based Development-Azrinsyah Mirza Asfian MIMOS Berhad. 1 June 2009. Community Track MSC Malaysia Open Source Conference 2009.
Original Title
Analysis and Design Method for Osgi-based Development-Azrinsyah Mirza Asfian
Analysis and Design Method for Osgi-based Development-Azrinsyah Mirza Asfian MIMOS Berhad. 1 June 2009. Community Track MSC Malaysia Open Source Conference 2009.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online from Scribd
Analysis and Design Method for Osgi-based Development-Azrinsyah Mirza Asfian MIMOS Berhad. 1 June 2009. Community Track MSC Malaysia Open Source Conference 2009.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPTX, PDF, TXT or read online from Scribd
Agenda • Introduction • Service-Oriented Programming and OSGi • Object-Oriented Analysis and Design Method • The Proposed Method – Analysis and Design Method – Example – Applying the Analysis and Design Method to the Case Study • Conclusions and Discussions
Service-Oriented Programming (cont.) • OOP – problems can be modeled in terms of objects in the problem domain • SOP – problems can be modeled in terms of services which can be implemented and provided by any other components, based solely on the contract • SOA – can discover, substitute and co-ordinate service implementations at run-time – because components publish and use services in a P2P manner
Contributions of Service-Oriented Programming • Fosters code reuse • Rapid and dynamic system construction • System upgrade without restarting and • Independence from platforms, protocols and deployment environments
General Object-Oriented Analysis and Design (OOAD) Method • Steps available in both Booch and OMT: 1. Develop a problem statement 2. Identify the classes and objects 3. Identify the semantics (or attributes) of these classes and objects 4. Identify the relationships among these classes and objects 5. Specify the interface and then the implementation of these classes and objects
The Proposed Method • An improvement over existing OOAD methods. • Additional steps added: – Extract or reuse existing OSGi services and components (or bundles) based on their versions – Determine dependencies between services – Depict dynamic view of the system using service dependencies diagram
Applying the Analysis and Design Method – Step 2 • Step 2 of the method is applied to the requirement specifications • Services identified: – Profile Persistence Service: Responsible in making used of Java persistence classes to perform Read operation on profile of users residing in centralized database – User Detail Screen Service: Provides a screen to open detail of a selected user – Main Screen Service: Shows the screen of main application – Table Screen Service: Provides table screen service
Applying the Analysis and Design Method – Step 4 and Step 5 • Applying step 4 – results in each of the services to be in their respective bundles – need not to depict this – in complex systems where a bundle can provide more than one services, it is necessary to have a diagram on its own • Step 5 onwards will not be discussed here – same steps likewise OOAD methods – design patterns can be applied to further promote reusability within a bundle
Object-Oriented Analysis and Design (OOAD) Method • In 1990s OO paradigm became popular – OO languages have been the preferred programming language – OO paradigm has introduced attributes which solve issues in structured paradigm • OOAD method – invented, likewise the structured analysis and design method is for structured paradigm – step-by-step guidelines for architects and developers on designing and developing their applications – popular methods e.g. Booch, Object Modeling Technique (OMT) and the Unified Modeling Language (UML)