Chapter 7. Technology options 135
model, for security, and for the coupling strength between requestor and
provider. The simplest effect is that parameters in Web services are
in-parameters and never in-out-parameters. To return a response value you have
to use the return value of the method.
The security impact results from the fact that in the case of CORBA or RMI the
client is remotely acting in the address space of the server application.
Reference errors can lead to server-side memory access exceptions or data
corruption, for example.
Furthermore, in the case of CORBA and RMI the structures of the stub objects
are identical to those on the server side. Changing the object structure on the
server side needs a refactoring of the clients. In the case of SOAP, no object
structures are exposed, except for methods which can have objects as
parameters and return values. Changing the object structure on the server side
need not lead to a refactoring of the client as a direct consequence.
7.4 J2EE Connector Architecture
The J2EE Connector Architecture is aimed at providing a standard way to access
enterprise applications from a J2EE-based Java application. It defines a set of
Java interfaces through which application developers can access heterogeneous
EIS systems, for example, legacy systems such as CICS, and Enterprise
Resource Planning (ERP) applications.
J2EE Connector Architecture 1.0 support is a requirement of the J2EE 1.3
specification. It provides access to a range of systems through a common client
interface API (CCI). Application programmers code to the single API rather than
having unique interfaces for each proprietary system. The link from the API to the
enterprise system is called a resource adapter and is provided by a third-party
vendor. This is somewhat analogous to the model for JDBC drivers. Resource
adapters are packaged as resource adapter archive (RAR) files.
IBM WebSphere Application Server V5.0 supports the J2EE Connector
Architecture 1.0, as required by the J2EE 1.3 specification. The administrative
console supports J2EE Connector resource adapter configuration. The
administrative console allows the association of connection factories for the
resource adapter that encapsulate the pooling attributes.
Component providers request a connection for an enterprise information system
(EIS) from the connection factory through the JNDI lookup mechanism. IBM
supplies resource adapters for enterprise systems such as CICS, HOD, IMS,
SAP, and Crossworlds as separate products.