From the NetBeans IDE's main menu, choose File -> New Project.
The New Project wizard opens.
In the Categories list, select the SOA node and in the Projects list select Composite Application .
Click Next.
In the Name and Location page, change the project name to HelloCompositeApp, and specify the location of project files or just use the default location.
Leave the Set as Main Project option selected and click Finish.
To add the EJB Module as a JBI module to the Composite Application project, right-click HelloCompositeApp and choose Add JBI Module.
The Select Project dialog box opens.
Select the Hello project you created earlier and select dist/Hello.jar under Project JAR Files and click Add Project JAR Files button.
The Select Project dialog box closes and the Hello.jar file is added to the JBI Modules node of the HelloCompositeApp Composite Application in the Projects window.