Using the Java EE Service Engine in a Project

Java EE Service Engine Deployment Articrafts

A composite business application can contain Java EE applications. Users prefer to deploy and manage composite applications as a single entity and would prefer not to deploy the Java EE applications separately from the JBI service assembly. Java EE service units can make Java EE applications part of the JBI service assembly, enabling them to be deployed and managed as one entity. By definition, a Java EE service unit is a Java EE application that can be bundled as part of the JBI service assembly. So, when the JBI service assembly is deployed, the Java EE Service Engine takes care of deploying any Java EE applications that are bundled in the service assembly.

In addition, any life cycle operation that is applied to the JBI service assembly (start, stop, undeploy, and so on) results in the same life cycle operation being applied to the bundled Java EE applications. The difference between a normal Java EE application and the Java EE Service unit is that the latter contains an additional descriptor file named jbi.xml. This JBI runtime descriptor describes the services provided and consumed by a Java EE application in the JBI environment.

As shown in the following illustration, a composite application can contain various service units, where each unit needs to be deployed into the proper component of the JBI environment. For example, if the application needs to read input from a file and execute a BPEL process, then your composite business application contains at least two units: one unit is deployed into the File Binding Component , and another unit is deployed into the BPEL Service Engine.

Java EE Service Engine Service Units