webMethods 10.2 | Service Development Help | Building Java Services | Overview of Building Java Services
 
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.
If not, create them. For more information, see Package and Folder Requirements.
Task 2
Use Designer to add the Java service element. For more information, see Creating a Java Service.
Designer creates a Service Development Project in your local workspace for the Java service. For more information, see Service Development Projects in the Local Workspace.
Do the following to build the logic for the Java service:
*Define the input and output parameters for the service. For more information, see About the Service Signature.
*Optionally, generate starter code for the service based on the declared input and output parameters. For more information, see Generating Java Code from Service Input and Output Parameters.
*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:
*Service Development Project in Designer so that Designer can locally compile the service. For more information, see Adding Classes to the Service Development Project.
*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
Debug the Java service. For more information, see Debugging Java Services.
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.
How Java Services Are Organized on Integration Server
Java Service Editor
Service Development Projects in the Local Workspace
Package and Folder Requirements
Creating a Java Service
Deleting a Java Service
About the Service Signature
Generating Java Code from Service Input and Output Parameters
Adding Classes to the Service Development Project
About Service Run-Time Parameters
About Automatic Service Retry
About Service Auditing
Compiling a Java Service
About Universal Names for Services or Document Types
About Service Output Templates
Building Java Services in Your Own IDE

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release