Book Image

Mastering jBPM6

By : Simone Fiorini, Arun V Gopalakrishnan
Book Image

Mastering jBPM6

By: Simone Fiorini, Arun V Gopalakrishnan

Overview of this book

Table of Contents (18 chapters)
Mastering jBPM6
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Integrating with JEE


The Java Enterprise Edition provides an API and a runtime environment for developing and deploying enterprise applications. Further, EJB defines a set of lightweight APIs that can be used to build applications and leverage capabilities such as transactions, remote procedure calls, concurrency control, and access control.

EJB can be accessed in two modes:

  • Remote interface: This is where the component that wants to access the EJB is not packed together with jBPM

  • Local interface: This is where the component that wants to access the EJB is packed together with a jBPM service

JBPM provides out-of-the-box support for JEE integrations. It provides EJB remote and local interfaces for accessing the above-listed services.

EJB remote interfaces

The EJB remote interfaces are as follows:

Service name

EJB remote service class

Definition service

org.jbpm.services.ejb.api.DefinitionServiceEJBRemote

Deployment service

org.jbpm.services.ejb.api.DeploymentServiceEJBRemote

Process...