Follow these instructions to build, package, deploy, and run the order example to your Enterprise Server instance using NetBeans IDE.
In NetBeans IDE, select File->Open Project.
In the Open Project dialog, navigate to tut-install/examples/persistence/.
Select the order folder.
Select the Open as Main Project check box.
Click Open Project.
In the Projects tab, right-click the order project and select Run.
NetBeans will open a web browser to http://localhost:8080/order/.