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.
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:
Once these steps are completed, it is then possible to manage the server
resources directly through the JBI Module.