1、Applying Model Driven Development to Business Systems using RM-ODP and EDOC,Yoshihide Nagase yoshitech-arts.co.jp,Daisuke Hashimoto hashimototech-arts.co.jp,Miwa Sato msatohtech-arts.co.jp,2,Agenda,Model Driven Development Our MDD Process Case Study Discussion on possible RM-ODP revisions,Model Driv
2、en Development,4,Objective,Improving development efficiency and maintainability for business systems requires a seamless development process, and MDD (Model Driven Development) plays a key role.,5,Fundamental,System development based on MDA (Model Driven Architecture). MDA has 3 viewpoints of model.
3、 CIM (Computation Independent Model) PIM (Platform Independent Model) PSM (Platform Specific Model) Each model of viewpoint is defined using model language based on MOF (Meta Object Facility). Model transformation based on MOF enable seamless and traceable development.,We applied MDD to business sys
4、tems using RM-ODP (reference model) and EDOC (modeling language).,6,MDA and RM-ODP viewpoints,RM-ODP viewpoints correspond with MDA viewpoints.,7,UML Profile for EDOC,Enables to develop models compatible with three viewpoints (CIM and PIM part): Enterprise, Information, and Computational viewpoints.
5、 Enables viewpoint correspondence.Contained Profiles in UML profile for EDOC CCA (Component Collaboration Architecture) Profile Entity Profile Relationship Profile Event Profile Business Process Profile Pattern Profile,Our MDD Process,9,Our MDD Process,Enterprise Viewpoint,Information Viewpoint,Comp
6、utational Viewpoint,Engineering Viewpoint,Technology Viewpoint,Capture, model, and analyze business requirements,Analyze Informationof ODP system,Analyze Functionof ODP system,design system architecture,Apply technology and transform model,10,Enterprise Viewpoint,Objective Capture, model, and analyz
7、e business requirements. Items of work Define Objectives for the system. Define Communities that are decomposition objective. Define Business Processes that are process for accomplishing Objective of each Communities. Define Policies that are constraints and requirements on Communities and Processes
8、. EDOC profiles Business Process Profile represent business processes. represent information used and functions used in the business Process. Event Profile represent event-driven business processes.,11,Information Viewpoint,Objective Analyze Information of ODP system. Items of work Derive informatio
9、n model based on Business Processes. Define Entity Components that are components of information. Define Invariant Schemas that are constraints of information. Define Static Schemas that are snapshot (e.g. initial values) initial values of information. Define Dynamic Schemas that are state machine o
10、f Entity. EDOC profiles Entity Profile represent Information Objects by Entity Data. represent Entity Components. Relationship Profile represent detail relationship between information objects.,12,Computational Viewpoint,Objective Analyze Function of ODP system. Items of work Define functional model
11、 based on Business Processes. Define Process Components that are functionality components. Connect Process Components to Entity components. Define interactions between components. Define interfaces of components. EDOC profiles CCA (Component Collaboration Architecture) Profile represent Computationa
12、l Objects by Process Component. represent interfaces of Process Component. represent interactions between Process Components Entity Profile represent Entity Components.,13,Engineering Viewpoint,Objective Design system architecture. Items of work Define physical component. Design system environment a
13、nd deployment model. Design transaction models. Design security domains.,14,Technology Viewpoint,Objective Apply technology. Transform to PSM (Platform Specific Model). Items of work Apply technologies. OS : Windows?, Linux?, Mac OSX? Language : Java?, C#?, C+? Application Server : Web Logic?, Web S
14、phere?, Sun ONE? Database : Oracle?, DB2?, SQL Server? Design mapping rule between PIM and PSM. Transform to PSM based on the mapping rule.,Case Study,16,Electronic Health Record System,Target Establish standard development approach for EHRS specification and EHRS with components. Organizations JAHI
15、S (Japanese Association of Healthcare Information Systems Industry) INTAP (Interoperability Technology Association for Information Processing) CBOP (Consortium For Business Object Promotion) Achievement in 2002 (This project is still active ongoing) EHRS models (Enterprise model, Information model,
16、Computational model) Pilot system developed The Enterprise Viewpoint part of these models are an accomplishment of “The Development of Electronic Health Record System through Standardizing Components” as a special science research theme awarded by the Ministry of Health, Labor and Welfare in the fis
17、cal year 2002.,EHRS = Electronic Health Record System,17,What is EHR System ?,Radiological department system,EHRS of Other hospital,Accounting for Medical department system,EHRS,Consultation results, Examination reservation, Prescription order,Examination results, Pharmaceutical history, Patient sta
18、te,EHRS is to integrate information systems in a hospital.,Enterprise System !,EHRS = Electronic Health Record System,18,Enterprise Model,Zoom in,Input the consultation results,Business Process,19,Information Model,Information structure,Entity Data,Consultation,Store Consultation,Information,Entity
19、Component,20,Computational Model,Input Consultation,results,Consultation,Store Consultation,Information,Store Consultation,Information,Input Consultation,results,Choreography (behavior), Input Consultation result, Store ConsultationInformation,Component structure,Process Component,Entity Component,2
20、1,Engineering Model,Database Server,Client,Database,Data Access,Business LogicCommon Service,Facade,Application,Deployment model,Node,Node,Component,22,Technology Model,P,E,P,O,F,23,Viewpoint Correspondence,Enable seamless development and to ensure the traceability. In EDOC, Business Process Profile
21、 (used in EV), Entity Profile (used in IV) are defined as specializations of CCA Profile (used in CV), and thus there exists stronger correspondence between those and CCA Profile. Once the mapping is done, and the final model is represented in CCA Profile, the resulting model will be considered as a
22、 Computational Viewpoint Model.,Entity,BP,CCA,Next phase,Information Viewpoint,Computational Viewpoint,Enterprise Viewpoint,Discussion on possible RM-ODP revisions,Communication between coarse-grained computational objectsDynamic evolutions of modelsHuman-System InteractionPolicy Language,25,Communi
23、cation between coarse-grained computational objects,When we extend “object interactions” to cover communication between coarse-grained objects such as objects representing enterprise systems, there is a need to consider whether: current object interactions still meet the needs, current object interf
24、aces still meet the needs, and current behavior definition capability still works.,26,Composite interaction,Issue To describe coarse-grained computational viewpoint specification, a means is needed to represent composite interaction, which may be a composition of: Signals, Operations, and Flows (Str
25、eam) Example: buy-sell interactions,Company A,Company B,Order,Shipping,payment,As computational object X,As computational object Y,Composite interaction,Interface for composite interaction,The introduction of “composite interaction” and “composite interface” will provide modelers with more flexibili
26、ty.,27,Composite interface,Issue Current interface definition is very fine-grained.,Composite interface definition including activity definition at the interface will enable high level and simpler modeling.,28,Asynchronous communication,Issue Communication or interaction between objects in Computati
27、onal Viewpoint is basically synchronous, but asynchronous communication, or message-based interaction, is in fact used widely. Client side activity description depends on the interaction style.,business-to-business transaction example:,Company B,Order,Response,asynchronous communication,Company A,Or
28、derRequest,Other,Needs elaboration on interfaces for asynchronous communication, e.g. message queue management.,communication,29,Components (summing up),Issue Computational Object is rather fine-grained. According to “Objects, Components, and Frameworks with UML (The Catalysis Approach),” Component
29、is a coherent package of software implementation that 1) has explicit and well-specified interfaces for the services it provides. 2) has explicit and well-specified interfaces for services it expects from others. 3) can be composed with other components, perhaps customizing some of their properties,
30、 without modifying the components themselves. If composite interactions and interfaces are acceptable, it would be natural to introduce those concepts with “component” concept.,30,Dynamic evolutions of models,Issue Dynamic evolutions of models are not describable consistently. The dynamic evolutions
31、 of models means: model elements may be added or changed or deleted at some point to evolve into the model in the next phase. (e.g. community creation) Guideline is needed regarding: how these evolutions or changes (transition) should be described in each viewpoint, and what concepts in which viewpo
32、int is required to achieve this. NOTE: The results may be applicable to “as-is model” to “to-be model” evolution in Enterprise Architecture.,as-is model,to-be model,evolution,31,Human-System interactions,Issue In the Viewpoint Languages today, there is no place for describing Human-System Interactio
33、n. If we could have concept(s) for this purpose in viewpoint languages, the following may be an example of applicable specification area: Specification of Human-System interactions for the system providing similar services through multi-channels (Web, telephone, fax, e-mail, and letter) Screen/Scree
34、n flow design Voice navigation design Email and back-end system integration design Easy to use menu design etc.,32,Policy language,Issue The current policy concepts are meta-model level concepts, may be used as policy categories, but not concrete enough to apply in the real world specifications. The
35、 policy will initially be described in natural languages. Therefore, the following elements may be required, as a minimum, to create a complete policy statement. If we tried to associate those with Enterprise Viewpoint Language concepts, the following may apply to some cases. PolicySubject - Enterpr
36、ise Object | Role | Community PolicyVerb - Action including Obligation etc. | Process PolicyObject - Enterprise Object | Role | Community PolicyCondition - Predicate | Guard Condition Example: If an emergency patient come to the hospital (Condition), a doctor (subject) has an obligation (Obligation)
37、 to see the patient (verb, object) or find a suitable doctor to request to see the patient (verb, object).,33,Summary,RM-ODP and EDOC enables seamless development process from business models to program codes. The EDOC provides means to describe various aspects of business systems in detail Since ED
38、OC has great affinity for RM-ODP, it is the most appropriate modeling language in building CIMs and PIMs. Our next goal is to apply this MDD process, 1) to implement an EHRS of practical scale, and 2) to other domains for its refinement. We have identified several candidate revision items for RM-ODP standards: Communication between coarse-grained computational objects Dynamic evolutions of models Human-System Interaction Policy Language,34,Thank you very much for your attention!,RM-ODP version 2!,We are here!,