Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mapping Component Specifications to Enterprise JavaBeans Implementations Yi Liu and H. Conrad Cunningham Software Architecture Research Group Department.

Similar presentations


Presentation on theme: "Mapping Component Specifications to Enterprise JavaBeans Implementations Yi Liu and H. Conrad Cunningham Software Architecture Research Group Department."— Presentation transcript:

1 Mapping Component Specifications to Enterprise JavaBeans Implementations Yi Liu and H. Conrad Cunningham Software Architecture Research Group Department of Computer and Information Science University of Mississippi

2 What Component Software Needs Component specification Component model Mapping – approach applied to realize an implementation from a component specification

3 Our Approach Component specification – Methods by Cheesman and Daniels (UML Components) Component model – Enterprise JavaBeans (EJB) Mapping approaches – Manager bean approach – Hierarchical approach – Singleton EJB approach

4 Component Specification System Architecture User Interface Creates what the user sees. Handles UI logic. User Dialog Dialog logic. Transient state corresponds to the dialog. Can sometimes be used with multiple UIs. Business Services Components correspond to stable business types to groups. Operations can be combined with others in a transaction. Usually have associated databases. System Services Operations are new transactions. Can be used with a variety of user dialogs or batch. Components correspond to business systems. No dialog or client-related state. Application Client Part Server Part System Dialog Software System Components Business Components

5 Component Specification Component Specification Design Requirements Definition Component Identification Component Specification Component Interaction Component Specification

6 Component Specification Course Registration System

7

8 Component Model Enterprise JavaBeans (EJB) EJB is a component model for building server-side, enterprise-class applications.

9 Component Model EJB Model EJB Client... Enterprise Bean … EJB Container EJB Server

10 Component Model Enterprise JavaBeans Types Session beans Entity beans Message-driven beans

11 Mapping Approaches maps to EJB Client... Enterprise Bean … EJB Container EJB Server

12 Mapping Approaches Manager Bean Approach Dialog Software System Software Business Components MakeSchedule > CourseReg System > PersonMgr > Person

13 Mapping Approaches Hierarchical Approach Dialog Software System Software Business Components MakeSchedule > CourseReg System > PersonMgr > Person > Person > Student … PersonMgr Component

14 Mapping Approaches Singleton EJB Approach Dialog Software System Software Business Components MakeSchedule > CourseReg System > Person > PersonMgr > CourseMgr …

15 Acknowledgements This work was supported, in part, by a grant from Acxiom Corporation titled “The Acxiom Laboratory for Software Architecture and Component Engineering (ALSACE).” Mingxian Fu and Pallavi Tadepalli assisted in the design of example system. Fu led the implementation effort.


Download ppt "Mapping Component Specifications to Enterprise JavaBeans Implementations Yi Liu and H. Conrad Cunningham Software Architecture Research Group Department."

Similar presentations


Ads by Google