Back Forward More about Service Java rules
 

  1. About 
  2. New 
  3. Service 
  4. Parameters 
  5. Exceptions 
  6. History 
  7. More... 

Benefits

Java service rules provide a plain Java (POJO) interface to the PRService EJBs. External Java client applications can communicate with PRPC either directly through the PRService beans or through a delegate proxy Java archive, generated by the service package.

Implementation

The service package for a group of Java service rules generates one or more proxy Java archives. The external client application communicates with PRPC through the proxy Java archive, which forwards the messages from the client to PRPC and returns to the client the response.

Dynamic System Settings

Two Dynamic System Settings data instances identify the directories that Java services use. Review these settings and update them as appropriate:

Performance statistics

Through changes the prlogging.xml file, you can obtain performance statistics on the execution of services. See Performance tool — Statistics for services. C-2432

Through changes to the prconfig.xml file, you can be alerted to unusually long service operations. See How to detect lengthy service operations. C-2432

As an alternative to the prconfig.xml file, you can use Dynamic System Settings to configure your application.
See How to create or update a prconfig setting.

Return types

NoteWhen using Service Java rules, do not return BigDecimal values unless the calling system also supports this class. Return a String value, or use a transform (identified in a Registry Java Property Transform data instance). SR-4641

Definitions service package
Related topics About Dynamic System Settings data instances
How to call PRPC through Java-based services

UpAbout Service Java rules