Business services connect with external systems and receive messages from them through an inbound adapter. For general information related to all production components written in an external language, see About Business Hosts and Adapters.
Developing a Business Service
To write a business service in an external language, extend one of the following classes:
Using the Business Service
The OnProcessInput() method takes an arbitrary object from the ProcessInput() method of the business service’s adapter, and returns an arbitrary object. These arbitrary objects do not need to be persistent.
For information about sending messages between the business service and another business host, see Messaging.
When you want to integrate the business service into the production:
Open the production in the Management Portal and add a business service based on the PEX class EnsLib.PEX.BusinessService.
Define the remoteClassname setting of the new PEX business service as the external class you created for the custom business service.
Use the External Server setting to specify the external server for your language. For more details about external servers, see Running the External Server.
For example, suppose you have a business service written in a Java class called MyJavaBusinessService. To incorporate this custom business service into the production, you go to the Management Portal and add a business service based on the PEX class EnsLib.PEX.BusinessService. Once added, edit the RemoteClassname setting of the PEX business service to point to the Java classname MyJavaBusinessService.