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:
JBPM provides out-of-the-box support for JEE integrations. It provides EJB remote and local interfaces for accessing the above-listed services.