g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker...

21
1 1 Application Servers G22.3033-011 Session 5 - Main Theme Object Management Architectures Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 2 Agenda CORBA-Based Object Management Architectures Java-Based Application Servers Windows Services Summary Readings Assignment #5

Transcript of g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker...

Page 1: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

1

1

Application ServersG22.3033-011

Session 5 - Main ThemeObject Management Architectures

Dr. Jean-Claude Franchitti

New York UniversityComputer Science Department

Courant Institute of Mathematical Sciences

2

Agenda

CORBA-Based Object Management ArchitecturesJava-Based Application ServersWindows ServicesSummaryReadingsAssignment #5

Page 2: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

2

3

Summary of Previous Session

CORBAInprise VisiBroker EnvironmentOrbacus

RMI and RMI-IIOPDCOMDOC Platform InteroperabilityWeb-Enabled DOC ApplicationsSummaryReadingsAssignment #4

4

Application Servers ArchitecturesApplication Servers for Enhanced HTML (traditional)

a.k.a., Page-Based Application ServersMostly Used to Support Standalone Web Applications

New Generation Page-Based Script-Oriented App. ServersFirst Generation Extensions (e.g., Microsoft IIS with COM+/ASP)Servlet/JSP EnvironmentsXSP EnvironmentCan now be used as front-end to enterprise applicationsHybrid development environments

Distributed Object Computing PlatformsProvide an infrastructure for distributed communications enablingStill need to merge traditional web-oriented computing with objectcomputing

Object Management ArchitecturesDOC Platform + APIs to reusable services and facilities

Page 3: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

3

5

Session 4 Addendum I

Distributed Object Computing Platforms

6

CORBA ORB Architecture

Page 4: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

4

7

CORBA DOC Platform at Work

8

CORBA Development Process(pre-CORBA3)

Page 5: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

5

9

CORBA Development Process(continued)

10

CORBA Development Process(using java2iiop)

Page 6: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

6

11

Microsoft Component Object Model(Logical Architecture)

12

Session 4 Addendum II

Web-Enabled DOC Platforms

Page 7: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

7

13

VisiBroker’s Gatekeeper

14

VisiBroker Gatekeeper’s Features

Extends location transparency past the Web server

Gatekeeper acts as a proxy object for all incoming requests from

client applets

Allows callbacks to functions of the server objectsGatekeeper’s proxy objects allows communication back to specificclients

IIOP proxy serverGatekeeper proxys requests and callbacks through a single port on thefirewall

HTTP tunnelingNo additional code required when firewalls do not allow IIOP trafficto pass

Page 8: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

8

15

VisiBroker Gatekeeper’s Features(continued)

SSL supportGatekeeper + SSL Pack ensures privacy and integrity of information

Broad flexibility in security configuration (clientcommunication, server callbacks, all communications)Authentication + encryption support

Easy graphical configuration

16

VisiBroker’s Gatekeeper

Page 9: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

9

17

Part I

CORBA-Based Object Management ArchitecturesAlso See Session 5 Handout on:

“ CORBAServices and CORBAFacilities”“Exploring CORBAServices and CORBFacilities”

“CORBA Activation Service - Portable Object Adapter (POA)”“POA and CORVAL”

“Naming Service - CosNaming”“The CosNaming Module”

and Sub-Topic 2 Presentation on:

“OMA Trading Services”

18

OMG Reference Model Architecture

Current and Next Generation OMASee http://www.omg.org/gettingstarted/specintro.htm#OMASee http://www.objs.com/staging/OMG-OMA-NG.html

Page 10: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

10

19

Object Services (CORBAservices)

Domain-independent interfaces used by manydistributed object programsProvide basic functionality for distributed objectapplicationsNaming Service: allows clients to find objects basedon namesTrading Service: allows clients to find objects basedon their propertiesOther services: persistence, lifecycle management,security, transactions, event notification, etc.

20

Common Facilities (Horizontal CORBAfacilities)Horizontally-oriented interfaces (useful across businessdomains)Oriented towards end-user applications (e.g., userinterface, information mgmt, system mgmt, task mgmt)E.g.: Distributed Document Component Facility (DDCF)

Compound document facility based on OpenDocAllows for presentation and interchange of objectsbased on a document model (e.g., linking ofspreadsheet object into a report document)

Printing, Secure Time, Internationalization, and MobileAgent Facilities

Page 11: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

11

21

Information Management Horizontal Facility

22

Domain Interfaces (Vertical CORBAfacilities)

Role similar to Object Services and CommonFacilitiesOriented towards specific application domainsE.g., Product Data Management (PDM) Enablers forthe manufacturing domainOther possibilities in the telecommunications,medical, and financial domains

Page 12: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

12

23

Application Interfaces

Custom interfaces developed for a given applicationNot standardizedMight become candidates for future OMGstandardization

24

CORBA Activation Service(server registration)

Page 13: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

13

25

CORBA Activation Service(client request)

26

Persistence Service

Page 14: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

14

27

Transaction Service

28

New in Corba 3

Component Model (CCM)Quality-of-service controlMessaging invocation modelTightened integration with the InternetPOA (Portable Object Adapter)EJB and Java supportOMG specifications for analysis and design, andapplication interoperability

UML, MOF, XMI, Common Warehouse Model

Page 15: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

15

29

Part II

Java-Based Application ServersAlso See Session 5 Handout on:

“ The RMI Activation Framework”“The RMI Naming Service”

“JNDI”“Jini - The Universal Network?”“Jini Connection Technology”

“JTS - Demarcated Transaction Support”“Understanding Java Messaging and JMS”

and Sub-Topic 1 Presentation on:“Java Naming and Directory Interface (JNDI)”

30

Sample Java Application Server Services

Page 16: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

16

31

Jini’s Service-Based Architecture

32

Jini’s Relationship to Other Java Services

Page 17: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

17

33

JMS Session, Connection, and Message Facilities

34

Part III

Windows Services

Page 18: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

18

35

Win32 Services

Win32 executable that satisfy several propertiesLifetime is controlled by the Service Control Mgr (SCM)

Service is registered with SCM, and understands and obeysSCM commands

Service has its own login session or shares one withanother service

Service runs as a user or local system and abides to applicablesecurity

Service implements a set of service-specific functions:Starting up, message handler, communication back to SCM

36

Part IV

Conclusion

Page 19: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

19

37

Summary

OMG, Sun, and Microsoft DOC platforms all share the OMAarchitectureOMG’s OMA provides the most comprehensive and detailed setof specifications for CORBAfacilities, and CORBAservicesJavaSoft has focused mostly on OMA services as part of theJ2SE, J2EE, and J2ME architecturesMicrosoft provides platform specific support for services and anintegrated set of horizontal and vertical facilities bundled withthe OS

38

Readings

ReadingsBuilding Application Servers: Part II, Chapters 4-5Handouts posted on the course web siteExplore the add-on services and facilities provided on top ofthe VisiBroker, Orbacus, RMI, RMI-IIOP, and DCOMEnvironmentsRead related white papers/documentation on the VisiBroker,Orbacus, RMI, RMI-IIOP, and DCOM platforms

Page 20: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

20

39

Project Frameworks

Project Frameworks Setup (ongoing)Apache Web Server (version 1.3.20, www.apache.org)Perl (version 5.x, www.perl.com), PHPMicrosoft IIS with COM+ and ASP (), ChiliSoftApache TomcatMacromedia JRunApache Cocoon 2/XSPVisibroker, OrbacusRMI-IIOP

40

AssignmentAssignment:

Explore the textbooks’ references to Application Servertechnology (continued)#5a: Investigate distributed object computing platforms’development environments for the add-on technologiescovered in this session. Write a short report that documentsyour findings and recommendations with respect toselection criteria in support of development environmentsfor application server technologies covered in this session#5b: See homework #4 specification (due date is 10/15/01)

Page 21: g22 3033 011 c51 - nyu.edu€¦ · 2 3 Summary of Previous Session QCORBA QInprise VisiBroker Environment QOrbacus QRMI and RMI-IIOP QDCOM QDOC Platform Interoperability QWeb-Enabled

21

41

Next Session:J2EE Component-Based

Computing Environments (Part I)

EJB Component ModelJ2EE Integrated ServicesSecurity in J2EE Application Servers