Define services

While exits are custom code that modifies existing features, InterPlay services are custom Java classes that implement complete features. InterPlay provides default implementation for the services but you can provide your own implementation if needed.

You can redefine the following services:

  • Import reader
  • Export writer
  • Monitoring
  • Security
  • Transformer

You must register services the same way as exits.

To add a new service:

  1. Navigate to the <InterPlayInstall> or <DesignerInstall> directories.
  2. Add the service Java classes to the war/WEB_INF/classes directories.
  3. Add your supporting libraries to the war/WEB_INF/lib directory. These libraries must not interfere with the existing libraries.
  4. Register the services in the war/ WEB_INF/classes/ interplayPublicContext.xml file by adding a bean XML element.

Related Links