8 Understanding Java Interoperability Solution

This chapter contains the following topic:

8.1 Java Interoperability Solution

The JD Edwards EnterpriseOne Java interoperability solution enables you to write Java applications that interact with the JD Edwards EnterpriseOne system. The Java interoperability solution includes these types of connectors:

  • Dynamic Java connector.

  • Java connector.

  • Java Connector Architecture (JCA) resource adapter.

The initial Java interoperability solution provided is the Java connector. The Java connector generates a Java wrapper object around the JD Edwards EnterpriseOne business function and data structure. A Java application calls the business functions from the Java wrapper object.

The dynamic Java connector is an enhancement to the Java connector. The dynamic Java connector enables Java applications to dynamically call business functions without generating business function wrappers. The dynamic Java connector ensures that the Java business function is compatible with the server spec. The dynamic Java connector makes it much easier for the Java application to switch between JD Edwards EnterpriseOne environments.

The JCA resource adapter is a thin layer built on top of the dynamic Java connector and provides standard APIs required by the Java connector architecture. The core functionality for the JCA resource adapter is to interact with JD Edwards EnterpriseOne, and this functionality is leveraged to the dynamic Java connector. Each connector has a complete set of APIs that enable Java applications to interact with JD Edwards EnterpriseOne.

This diagram shows how a Java application interacts with JD Edwards EnterpriseOne through a connector:

Figure 8-1 Java Application interaction with JD Edwards EnterpriseOne

Description of Figure 8-1 follows
Description of "Figure 8-1 Java Application interaction with JD Edwards EnterpriseOne"

Generally, each connector provides public interfaces (or APIs) for these services that can be used by a Java application:

Service Description
Security Management Handles security access to the JD Edwards EnterpriseOne system.
User Session Management Manages the user session pooling.
Business Function Calls How the Java application calls business functions.
Transaction Management Manages the transaction process to the JD Edwards EnterpriseOne system.
Error Handling Provides the appropriate exceptions to the connector user to easily handle error scenarios.

Both the Java connector and the dynamic Java connector support the processing of outbound events.

Note:

If this is the first implementation of a Java connector, you should consider the dynamic Java connector instead of the Java connector. The functional capabilities are the same. The advantage of implementing the dynamic Java connector is that you are not required to generate wrappers.