Sei sulla pagina 1di 15

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

PTCL Training & Development

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
PTCL Training & Development 2

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
PTCL Training & Development 3

J2EE Connector Architecture (JCA)


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
PTCL Training & Development 4

J2EE Connector Architecture (JCA)


Multiple resource adapters are pluggable into an application server enables application components deployed on the application server to access the underlying EIS systems

PTCL Training & Development

J2EE Connector Architecture

PTCL Training & Development

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
PTCL Training & Development 7

Resource Adapter in A.S


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
PTCL Training & Development 8

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
PTCL Training & Development 9

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
PTCL Training & Development 10

Messaging
Asynchronous method invocations Why? Performance Reliability Support for multiple senders and receivers
Application Message Oriented Middleware Application

PTCL Training & Development

11

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
PTCL Training & Development 12

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 clientside development Supports Publish/subscribe Point-to-point

PTCL Training & Development

13

2:Create Connection
3:Create Session Client 5:Create Producer or Consumer 6:Send or Receive Message

JMS Connection Factory


JMS Connection JMS Session JMS Producer Or JMS Consumer
Serialized Message Connection

1:RetrieveJ MS Driver Connection Factory

4:Lookuo JMS Destination JNDI

JMS Driver Client Runtime

Naming Service

Java Message Service


PTCL Training & Development 14

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
PTCL Training & Development 15

Potrebbero piacerti anche