Presentation is loading. Please wait.

Presentation is loading. Please wait.

Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way.

Similar presentations


Presentation on theme: "Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way."— Presentation transcript:

1 Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way is to use entity beans and benefit from the underlying services –Connection pooling 1PTCL Training & Development

2 Integration Integrating new applications with any legacy Enterprise Information System (EIS) J2EE Connector Architecture (J2CA) CORBA –integration with legacy systems that implement the CORBA specifications COM/DCOM (COM+) –bi-directional interoperability with Microsoft ’s COM+ can access data in Microsoft applications, communicate with Visual Basic clients 2PTCL Training & Development

3 J2EE Connector Architecture (JCA) A standard architecture for connecting the J2EE platform to heterogeneous EIS systems –ERP, mainframe transaction processing, database systems, and legacy applications not written in the Java programming language –enables the integration of EISs with application servers and enterprise applications By defining a set of scalable, secure, and transactional mechanisms 3PTCL Training & Development

4 Enables an EIS vendor to provide a standard resource adapter for its EIS The resource adapter plugs into an application server, providing connectivity between the EIS, the application server, and the enterprise application An EIS vendor needs to provide just one standard resource adapter which has the capability to plug in to any application server that supports the J2EE Connector architecture 4PTCL Training & Development J2EE Connector Architecture (JCA)

5 Multiple resource adapters are pluggable into an application server enables application components deployed on the application server to access the underlying EIS systems 5PTCL Training & Development J2EE Connector Architecture (JCA)

6 J2EE Connector Architecture 6PTCL Training & Development

7 Resource Adapter in A.S To achieve a standard system-level pluggability between application servers and EISs, the J2EE Connector architecture defines a standard set of system-level contracts between an application server and EIS The resource adapter implements the EIS-side of these system-level contracts 7PTCL Training & Development

8 System-level software driver used by an application server or an application client to connect to an EIS By plugging into an application server, the resource adapter collaborates with the server to provide the underlying mechanisms, the transactions, security, and connection pooling mechanisms A resource adapter is used within the address space of the application server 8PTCL Training & Development Resource Adapter in A.S

9 Application Contract An application server and an EIS collaborate to keep all system-level mechanisms, such as transactions, security, and connection management, transparent from the application components A Connection Management contract A Transaction Management contract Security contract A Message Inflow contract A Lifecycle Management contract A Work Management contract 9PTCL Training & Development

10 Web Service Support Automatically wraps the business components in to Web services Support for WSDL and UDDI –Publish, search, host Support for Web Services Security standard Reliable SOAP implementation –based on a sequence of asynchronous SOAP communications, receipts, and notifications –guaranteed delivery, “exactly-once ” delivery, ordered conversation A set of convenient graphical tools for development, search, and composing of the Web Services –BEA WebLogic Workshop 10PTCL Training & Development

11 Messaging Asynchronous method invocations Why? –Performance –Reliability –Support for multiple senders and receivers Application Message Oriented Middleware 11PTCL Training & Development

12 Message Oriented Middleware MOM Provides –Guaranteed message delivery –Fault tolerance –Load balancing of destinations –Subscription mech. Proprietary solutions –Tibco Rendezvous –IBM MQSeries –BEA Tuxedo/Q –Microsoft MSMQ 12PTCL Training & Development

13 Java Message Service API –Write code to send and receive msg Service Provider Interface (SPI) –Plug in JMS drivers to allow existing companies to JMS-enable their applications without impacting client- side development Supports –Publish/subscribe –Point-to-point 13PTCL Training & Development

14 14 JMS Connection Factory JMS Connection JMS Session JMS Producer Or JMS Consumer Serialized Message Connection Naming Service Client JNDI 4:Lookuo JMS Destination 1:RetrieveJ MS Driver Connection Factory 2:Create Connection 3:Create Session 6:Send or Receive Message 5:Create Producer or Consumer JMS Driver Client Runtime Java Message Service

15 Security in A.Servers Java Authentication and Authorization Server (JAAS) Encryption Auditing HTTPS, basic HTTP authentication with Base64 encoding for services protected by firewalls Role based security –User and group definition –Built-in security data store retains the role, profile, and entitlement data, and is built on a highly optimized LDAP directory Single Sign-On WS-Security 15PTCL Training & Development


Download ppt "Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way."

Similar presentations


Ads by Google