JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS Java EE Service Engine Tutorial     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the Java EE Service Engine to Create a Composite Application

Tutorial Requirements

Prerequisites

Tutorial Scenario

Starting the GlassFish Application Server

To Check the Status of the GlassFish Application Server in the NetBeans IDE

To Register the GlassFish Application Server with the NetBeans IDE

To Start the GlassFish Application Server in the NetBeans IDE

Enabling the JBI Framework

Creating an EJB Module Project

To Create the EJB Module Project

To Create a WSDL Document

To Create a Web Service from WSDL

To Clean and Build the EJB Module Project

Creating a Composite Application Project

To Create a Composite Application Project

Building and Deploying the Composite Application Project

To Build and Deploy the Composite Application

Testing the Composite Application

To Add a Test Case

To Run the Test Case

Summary

Building and Deploying the Composite Application Project

Deploying the project makes the service assembly available to the application server, which allows its service units to run. Before you deploy the EJB Module project, you must add the JBI module to the deployment project.

To Build and Deploy the Composite Application

  1. Right-click the HelloCompositeApp node, and choose Build from the pop-up menu.

    When the build is complete the Output window reports BUILD SUCCESSFUL.

  2. Right-click the HelloCompositeApp node, and choose Deploy.

    Deployment is successful when you see the BUILD SUCCESSFUL message in the build.xml (run) tab of the Output window.

  3. Open the Services window of the IDE and expand Servers -> GlassFish V2 -> JBI -> Service Assemblies to see your new deployed Service Assembly.
    image:To see the new deployment

    If you do not see the deployed project, right-click the Service Assemblies node and choose Refresh.