You are here: Reference > Rule types > Service JSR94 rules

Service JSR94 rules

  1. About 
  2. New 
  3. Service 
  4. Request 
  5. Response 
  6. Exceptions 
  7. Specifications 
  8. History 
  9. More... 

Java Specification Request 94 (JSR 94) describes an Application Programming Interface (API) for rules engines defined by the Java Community Process (JCP). The JSR 94 integration interface makes Pega 7 Platform processing available to external Java applications through JSR 94 invocations to JSR94 service rules.

This service type enables the Pega 7 Platform to be embedded into, and called directly from, any Java program.

Access

Use the Application Explorer to see Service JSR94 rules in your application. Use the Records Explorer to list all Service JSR94 rules that are available to you.

Development

Consult the standards documents at WWW linkhttp://www.jcp.org/jsr/detail/94.jsp for a definition of the API methods and the Test Compatibility Kit. The Pega 7 Platform works with JSR 94 version 1.0 jar files.

For a comprehensive description of the development process and a sample, see article Building JSR94 Services (August 2005), a document available from the Integration pages of the PDN.

Category

Service JSR94 rules belong to the Integration-Services category. A Service JSR94 rule is an instance of the Rule-Service-JSR94 class.

Related topics Unit testing a Service JSR94 rule
How to call PRPC through Java-based services
Standard rules Standard Service JSR94 rules

Integration-Services category