3 Components of a World Web Service

This chapter contains these topics:

3.1 Java Layer

The Java API layer used for JD Edwards World Service Enablement has several different parts. The parts include the data objects that represent the data in JD Edwards World, implementation classes, connection classes and other supporting classes. The source code for the Java API layer is included with the install. Both an Oracle JDeveloper project and an IBM WebSphere workspace have been provided.

When creating a Web Service, all of the above components need to be in place. Direct calls to JD Edwards World RPG programs and database queries are necessary to collect the data. In these cases, the IBM JT400 API and the JD Edwards World JDBC database connector process the calls to the program and the database queries.

The implementation classes use the data objects as inputs and outputs. The implementation classes are used to create the Web services. The Web services are created using the internal Integrated Development Environment (IDE) tools. By doing this, the WSDL and all the other necessary parts of the web service are created. Refer to your selected IDE documentation for further instructions on creating Web services.

3.2 Retrofitting Web Services

In some cases, retrofitting the Web Services to a prior JD Edwards World release might be required. Though this is considered a customization of the software, the following are some suggestions on how to approach the task.

  • Create a copy of the Java source delivered so that when updates are issued changes are not overridden.

  • When creating classes to handle prior release processing, identify them differently from the base classes delivered