Overview of Building Java Services
Before you can create Java services using the Java Service Editor, you must meet the following prerequisites:
Integration Server must have a Java compiler that is the same version as the Java compiler used in the
Designer local workspace.
Designer must have a connection to the
Integration Server on which you want the Java service to reside.
In
Designer you use the Java Service Editor to build Java services. For more information, see
Java Service Editor. The following are the basic tasks you perform to create a Java service:
Task 1 | Ensure that the IS package and folder in which you want to create the Java service exists. |
Task 2 | Do the following to build the logic for the Java service: ![*](bullet.gif) Add additional Java code and modify the generated Java code as necessary. You can use the webMethods Integration Server Java API in your service. For more information, see the webMethods Integration Server Java API Reference. |
Task 3 | Provide classes required to compile the Java service. You add any additional third-party classes to: Integration Server so that the server can compile the service. For more information, see information about managing IS packages and how Integration Server stores IS package information in webMethods Integration Server Administrator’s Guide. |
Task 4 | Compile the Java service. Designer automatically compiles the service when you save it. For more information, see Compiling a Java Service. |
Task 5 | |
Designer also provides the ability for you to generate code that invokes a Java service. You can generate code that a client would use to invoke the Java service and code that another service would use to invoke the Java service. For more information, see
Building a Java Client and
Generating Code a Java Service Can
Use to Invoke a Specified Service.