Right-click the Composite Application project's node, and choose Build from the pop-up menu.
When the build is complete the Output window reports Build Successful. If the Output window is not visible, choose Window -> Output -> Output.
Right-click the Composite Application project's node, and choose Deploy.
Deployment has succeeded when you see a Build successful message in the GlassFish tab of the Output window.
Open the Services window and expand Servers -> GlassFish V2 -> JBI -> Service Assemblies to see your new deployed Service Assembly.
If you do not see the deployed project, right-click the Service Assemblies node and choose Refresh.