CORBA Model 1 of 19 CORBA Model(CCM) Technology for building enterprise-level applications Contents 2 of 19 Overview of CORBA Model CCM Deployment Model K2 Server Copyright 2000-02 Internet Management Group Page 1
CORBA Model CORBA Interoperability 3 of 19 Solaris MVS HP-UX Alpha NT C++ COBOL S/Talk Ada IIOP VC++ Java C++ C++ NT JavaOS AIX IRIX What is CCM 4 of 19 Framework for building, assembling, and deploying 'plug-and-play' CORBA applications Extends the traditional CORBA object model Core CCM specifications supports EJB components Four Models of CCM Abstract Model Programming Model Deployment Model Execution Model Enables complete integration with EJB Copyright 2000-02 Internet Management Group Page 2
CORBA Model Elements of CCM Architecture 5 of 19 Client Invoke Methods CCM Invoke Actual Methods CCM CCM Server 6 of 19 A General Model Client Uses Asynchronous connector Synchronous connector CCM server CCM server Software Bus ( Middleware ) + Services (naming, persistency, transaction, security,.) Copyright 2000-02 Internet Management Group Page 3
CORBA Model 7 of 19 CCM s Interface between a CORBA component and the outside world Provides services through a set of simple interface APIs Transactional, secure and persistent Categories Service, Session, Process, Entity EJBSession, EJBEntity Empty Architecture 8 of 19 Home Transaction External Interfaces Internal Interfaces Callback Interfaces ORB PSS Security POA Notification Copyright 2000-02 Internet Management Group Page 4
CORBA Model 9 of 19 CCM s Provided interface (facet) Supported interface Facet implementation Receptacle Event Sinks Event Source Attributes Event Sink Implementations Basic meta-type in CORBA s communicate with outside world through ports Facets, receptacles, event sources, event sinks Types of CCM s 10 of 19 Categories CORBA Usage Model Object Reference Keyed Home Interface Service Stateless Transient No Session Conversational Transient No Process Durable Persistent No Entity Durable Persistent Yes Copyright 2000-02 Internet Management Group Page 5
CORBA Model CCM Services 11 of 19 Naming Service Object Transaction Service (OTS) Persistence State Service (PSS) Security Service (SECIOP or CORBA SSL) Notification Service Persistence in Entity and Process components -managed persistence: CCM container is responsible for saving the component's state Simple to develop Persistence is automatically handled by the container 12 of 19 -managed persistence: Entity component is directly responsible for saving it s own state Persistence needs to be hard-coded into the component More flexible Copyright 2000-02 Internet Management Group Page 6
CORBA Model Deployment Descriptors 13 of 19 Software Package Descriptor Describes a software package globally Includes implementation information CORBA Descriptor Mainly generated from CIDL Rest is filled out by user Assembly Descriptor Describes the initial configuration Property File Descriptor Describes the initial configuration for an instance CCM Production Process 14 of 19 Designer Developer IDL/CIDL/PSDL Functional code Default Properties Configurator Home Properties Properties IDL/CIDL/ PSDL Compiler Stubs Skeleton Descriptor Programming Language Tools Implementation Packaging Tool CORBA Package Provider Softpkg Descriptor Assembling Tool Integrator DeploymentTool CORBA Assembly Package Assembly Description Administrator Source : R. Marvie, P. Merle Copyright 2000-02 Internet Management Group Page 7
CORBA Model Inter-working with EJB 15 of 19 CCM Client EJB Client CCM View EJB View EJB Client Bridge Bridge CCM Client EJB CCM EJB / Contract CCM 16 of 19 CCM vs EJB CCM is language independent, unlike EJB that is built entirely in Java Programming language EJB model is single interface based CCM provides richer functionality than EJB component model Supports configurations Introspection capability on component facet ports Supports more sophisticated assemblies Copyright 2000-02 Internet Management Group Page 8
CORBA Model K2 Architecture : Implementation of CCM Model 17 of 19 Client Trader Deployment Management Agent Fault Tolerance Federation Control / DDCP K2 Daemon Session C1 C2 POA1 Services Entity C3 C4 POA2 K2 CCM Server 18 of 19 K2 Tools Deployment Tools K2 Packaging Tool, K2 Assembly Tool Management Tools K2 Server Manager, K2 QoS Manager, Event & Notification Manager, Performance Manager, K2 Cluster Management Development Tools IDL2 Compiler, CIDL Compiler, IDL2EJB Compiler, PSDL Compiler Copyright 2000-02 Internet Management Group Page 9
CORBA Model 19 of 19 Summary CCM infrastructure ensures a solid foundation for building, assembling and deploying plug and play CORBA objects Programming language and platform independent Capable of introspecting with other emerging component technologies Copyright 2000-02 Internet Management Group Page 10