In NetBeans IDE, select File->Open Project.
In the Open Project dialog, navigate to:
tut-install/examples/ejb/ |
Select the helloservice folder.
Select the Open as Main Project and Open Required Projects check boxes.
Click Open Project.
In the Projects tab, right-click the helloservice project and select Deploy.
This builds and packages the application into helloservice.ear, located in tut-install/examples/ejb/helloservice/dist, and deploys this EAR file to the GlassFish Server.