JPD

From Wikipedia, the free encyclopedia

Definition "Process Definition for Java will build on Java Language Metadata technology (JSR-175) to provide an easy to use syntax for describing a business process at the source code level for the J2EE platform. Metadata will bind data and tasks within the process definition to variables, classes, and tasks in the source code. The metadata will be amenable to manipulation by tools."

Description

Java Process Definitions are defined as jpd files. These jpd files behave as regular java files but are available only to WebLogic. Not only do they behave as regular java but they can access regular java classes as well and all the same OO principles and practices apply to these jpd files. Having said that since they are not reusable only process specific code should be placed in there and the rest in specific java classes.

Process definitions should only be used for a specific process and their use for writing Business logic is a grave violation of the separation of concerns principle. Process definitions by no means are a substitute of business logic. Process definitions are designed to serve as an integration point for the communication between various business logic components.

The call made to process definitions can be synchronous or asynchronous by nature. It could be:-

• Via a regular client request(Synchronous)

• Or a JMS message (Asynchronous)

Useful Links

http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html

http://e-docs.bea.com/workshop/docs81/doc/en/integration/wfguide/wfguidePerform.html?skipReload=true

Author: Khurram Chaudhry