Skip Headers
Oracle® Application Server Adapter for J.D. Edwards OneWorld User's Guide
10g Release 2 (10.1.2)
Part No. B14059-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

1 Introduction to Oracle Application Server Adapter for J.D. Edwards OneWorld

The Oracle Application Server Adapter for J.D. Edwards OneWorld provides connectivity and executes interactions on a J.D. Edwards OneWorld system. This chapter provides information about the OracleAS Adapter for J.D. Edwards OneWorld to help you accomplish your integration projects.

This chapter discusses the following topics:

Adapter Features

The OracleAS Adapter for J.D. Edwards OneWorld provides a means to exchange real-time business data between J.D. Edwards OneWorld systems and other applications, databases, or external business partner systems. The adapter enables inbound and outbound processing with J.D. Edwards OneWorld.

The OracleAS Adapter for J.D. Edwards OneWorld can be deployed as a JCA 1.0 resource adapter. This deployment is referred to as the OracleAS JCA adapter. It can also be deployed as a Web services servlet and as such is referred to as the Oracle Application Server Adapter Business Services Engine (OracleAS Adapter BSE).

The adapter uses XML messages to enable non-J.D. Edwards applications to communicate and exchange transactions with J.D. Edwards using services and events.

To support event functionality, two features are implemented:

The OracleAS Adapter for J.D. Edwards OneWorld provides:

Resource Adapters

The OracleAS Adapter for J.D. Edwards OneWorld is a JCA-based component also known as resource adapter. Resource adapters connect one application to another when those applications were not originally designed to communicate with each other. Adapters are bidirectional, that is, they can send requests to an Enterprise Information System (EIS), as well as receive notification of events occurring in an EIS.

Figure 1-1 shows the generic architecture for the Oracle Web service adapter for packaged applications. The adapter works in conjunction with the Oracle Application Server Adapter Business Services Engine (BSE), as deployed to a Web container in a J2EE application server.

Figure 1-1 Oracle Application Server Adapter Business Services Engine Architecture

Business Services Engine architecture
Description of the illustration xipsa002.gif

Oracle Application Server Adapter Application Explorer (Application Explorer), a design-time tool deployed along with BSE, is used to configure adapter connections, browse EIS objects, configure services, and configure listeners to listen for EIS events. Metadata created while you perform these operations are stored in the repository by BSE.

BSE uses SOAP as a protocol for consuming requests from clients, interacting with the EIS, and sending responses from the EIS back to clients.

BSE receives the adapter response, wraps the response XML in a SOAP envelope, and returns it to the adapter bridge. The bridge then strips the SOAP envelope, strips the namespace prefix, if present, and passes the DTD-compliant XML to the IC Adapter agent.

Figure 1-2 shows the generic architecture for the Oracle JCA adapter for packaged applications.The JCA connector is deployed to a standard JCA Container and serves as host container to the adapters. The connector is configured with a repository.

Figure 1-2 Oracle Application Server Adapter Generic JCA Architecture

Generic JCA architecture
Description of the illustration xipsa003.gif

Application Explorer, a design tool that works in conjunction with the connector, is used to configure adapter connections, browse EIS objects, configure services, and configure listeners to listen for EIS events. Metadata created while you perform these operations are stored in the repository by the connector.

Processing Business Functions

The OracleAS Adapter for J.D. Edwards OneWorld enables the processing of OneWorld business functions through the J.D. Edwards OneWorld ThinNet API. Using the API eliminates the requirement of creating complex and impractical batch processes. In addition, a transport layer, such as IBM MQSeries, File, or HTTP is not required because an agent or a listener is defined through a TCP connection.External applications that access OneWorld through the OracleAS Adapter for J.D. Edwards OneWorld use either XML schemas or Web services to pass data between the external application and the adapter. The following topics describe how to use Application Explorer to create XML schemas and Web services for the J.D. Edwards Master Business Functions (MBF) used with the adapter.

J.D. Edwards OneWorld Concepts

You can use the OracleAS Adapter for J.D. Edwards OneWorld to invoke a J.D. Edwards OneWorld Master Business Function, such as Address Book, Purchase Order, and Sales Order. You can also use the adapter as part of an integration effort to connect OneWorld with non-OneWorld systems. The adapter can receive an XML document, or it can run one or more J.D. Edwards Master Business Functions (MBF) by passing an XML document into OneWorld through the J.D. Edwards OneWorld ThinNet API.

Integration with J.D. Edwards OneWorld

J.D. Edwards OneWorld supports multiple methods and technologies to provide interoperability. The three supported entry points are:

You configure the adapter to send requests to J.D. Edwards OneWorld. The agent processes requests for J.D. Edwards OneWorld Master Business Functions (MBF), embedded in XML documents, and forwards them to a back-end J.D. Edwards OneWorld system. The resulting response information is then returned and processed for further routing.The adapter can receive an XML request document from a client and call a specific function in the target Enterprise Information System (EIS). The adapter acts as a consumer of request messages and provides a response. An agent performs the following functions:

The request document conforms to a request XML schema.
The schema is based on metadata in the EIS.
The response document conforms to a response XML schema for the agent.
The schema is based on metadata in the EIS.

You can configure a listener, known as a channel, for the adapter to receive messages from J.D. Edwards OneWorld. The information the listener receives is used to build an XML record and is forwarded to any specified disposition for further processing.Listeners are consumers of EIS-specific messages and may or may not provide a response. A listener performs the following functions:

The XML format conforms to an XML schema.
The schema is based on metadata in the EIS.

Propagating External Listeners Into J.D. Edwards OneWorld

When integrating external listeners into OneWorld using flat file input, the files are imported through a batch program and placed on an unedited transaction table. The records on the transaction table are processed by a batch program that makes calls to the appropriate MBF.The database table method bypasses the first step in the flat file method, and records are written directly to the unedited transaction table. The records on the transaction table are processed by a batch program that makes calls to the appropriate MBF.The third method, calling the MBF directly, bypasses the batch processing completely and provides synchronous access to OneWorld.

Propagating Internal Listeners out of J.D. Edwards OneWorld

Integrating a J.D. Edwards OneWorld listener with external systems is similar to the inbound process, except in reverse. The Data Export Control table maintains the determination of whether a transaction must be integrated with an external system. When a transaction must be integrated, the MBF handles logging of all additions, changes, and deletions to the unedited transaction table. After the transaction information is written to the table, a key for that record is sent from the MBF to the subsystem data queue.The subsystem data queue triggers the processing of the new record by launching an outbound subsystem batch process that is generic and handles all outbound transactions. The outbound subsystem then accesses the Data Export Control table to determine the configured external subscriber to run.

J.D. Edwards OneWorld Interoperability Framework

J.D. Edwards OneWorld provides for integration with systems through its interoperability framework. The adapter uses the OneWorld framework and leverages various integration access methods to provide the greatest amount of flexibility and functionality.The OracleAS Adapter for J.D. Edwards OneWorld supports the following integration access methods:

Figure 1-3 illustrates the inbound processing framework.

The agent uses the J.D. Edwards OneWorld ThinNet API to communicate with the OneWorld application. Using the ThinNet API, the agent can run one or more Master Business Functions (MBF) in a single Unit Of Work (UOW). When any of the MBF fail, the entire UOW fails, preventing partial updates. Because the agent runs the MBF, validation of data, business rules, and communications to the underlying database are handled by the OneWorld application.

Figure 1-3 J.D. Edwards OneWorld Inbound Processing

J.D. Edwards Inbound Processing
Description of the illustration xipjd004.gif

Figure 1-4 illustrates the outbound processing framework.

Figure 1-4 J.D. Edwards OneWorld Outbound Processing

J.D. Edwards Outbound Processing
Description of the illustration xipjd005.gif

In the outbound process, the event starts when a specific MBF is executed in the J.D. Edwards OneWorld environment. The MBF writes the required information for the event into the appropriate interface table and then notifies the subsystem Batch Function (BF) that an event occurred. The subsystem BF then places an entry about the event on the Subsystem Data Queue.The outbound subsystem retrieves the data queue entry and looks in the Data Export Control table for the external processes to notify. The outbound subsystem then calls the Oracle Application Server Adapter for J.D. Edwards OneWorld listener with notification. The listener passes the notification to the generator. The generator then uses the J.D. Edwards OneWorld ThinNet API to retrieve the appropriate information from the interface table.

Adapter Deployment

The OracleAS Adapter for J.D. Edwards OneWorld works in conjunction with Application Explorer and the Business Services Engine (BSE) or the Enterprise Connector for J2EE Connector Architecture (JCA).

Application Explorer is used to configure database connections and create Web services and events. It can be configured to work in a Web services environment in conjunction with the Business Services Engine or with the Enterprise Connector for J2EE Connector Architecture (JCA). When working in a JCA environment, the connector uses the Common Client Interface (CCI) to provide fast integration services using Adapters instead of using Web services. Both BSE and the connector for JCA are deployed to an application server with the Application Explorer and the adapters.

Application Explorer

Application Explorer uses an explorer metaphor for browsing the J.D. Edwards OneWorld system for business functions. Application Explorer enables you to create XML schemas and Web services for the associated business function.


See Also: