About JBI and Java EE Web Services

To make Java EE web services work with JBI runtime components, it is necessary to deploy Java EE web services as part of a composite application. NetBeans 5.5.1 includes additional server resource support for Java EE Applications packaged inside composite applications. Users can specify whether to deploy Java EE projects or components through the service assembly, or to deploy independently and optimize the intra Java virtual machine communication.

This addresses the issue of Java EE applications packaged inside composite applications that have resource dependencies, such as connection pools or JMS destinations, that are created before deployment. The addition of server resource support for Java EE applications makes it easier for users to resolve resource dependencies by combining all the resource dependencies of a Java EE application into a single sun-resources.xml before packaging into a .jar or .war file.

How it is Done

Resource creation can be facilitated through JMS by NetBeans. It can also be delegated to the application server by including a special EAR file called sun-resources.xml that includes descriptions of all the resources that need to be created during deployment. These sun-resrouces.xml files are the primary means of storing resource configuration information and resources editing in the application server environment.

Complete the following steps prior to administering server resources for Java EE applications:

  1. Creating a new Web Application or EJB Module (which includes web services implementation or web service usage)
  2. Coding the necessary @Resource annotations
  3. Creating a composite application.
  4. Adding a JBI Module

Once these steps are completed, it is then possible to manage the server resources directly through the JBI Module.

See Also
Deploying and Performing Test Runs of BPEL Processes
Understanding Service Oriented Architecture Projects
Creating Composite Application Projects
Accessing Java EE Server Resources
Understanding the Java EE Server Resources Window
Java EE Server Resource Usage

Legal Notices