Go to primary content
Oracle® Retail Integration Bus Service-Oriented Architecture Enabler Tool Guide
Release 16.0
E80322-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

8 Creating the Java EE Implementation Jar

Creating Web services with different implementations is a three-step process, as described below.


Note:

For creating an implementation class, interface classes are required.

Step 1: Generate Web Services with Default Implementation

Generate Web services with the default implementation as follows:

  1. Provide the Service Definition Library XML file and click Generate Stub to create a zip file.

  2. The zip file contains a jar file with the interface classes for the Web services. The name pattern of the jar file is <appName>-service-ejb.jar.

    For example, if the application name in ServiceDef is rms, the jar file name is rms-service-ejb.jar.

    The jar file also contains a properties file named ServiceProviderImplLookupFactory.properties. This file contains the name of the Web service interface and the class implementing the Web service.

Step 2: Implement Interfaces

Implement the interfaces and create the implementation classes. The classes can be packaged in a jar file. Upload the jar file while creating the final ear file.

Step 3: Upload the jar

When using the Service Implementation Jar File option to upload the jar containing the implementations, the default service implementation jar is not included in the .ear file. Rather, the jar file provided by the user is included. When the Web service is invoked, the service implementation provided by the user is invoked.