The Java EE Service Engine requires no configuration.
The Java EE Service Engine can be started in three ways. It starts automatically whenever a JBI service assembly which contains a Java EE Service Unit is deployed.
Users who work with the service engine in the NetBeans IDE must start the component from the GlassFish V2 application server.
From the NetBeans IDE's main page, in the Services window, expand the GlassFish V2 -> JBI -> Service Engines nodes.
Right-click sun-javaee-engine and choose Start from the pop-up menu.
The following message appears in the Output window:
Engine sun-javaee-engine has been started.
In the NetBeans Services window, log in to the GlassFish Administrator Console by right-clicking your application server and choosing View Admin Console.
Ensure that the GlassFish application server is running. A green arrow icon next to the server node indicates that the server is running. If the server is not running, right click the server name and choose Start from the pop—up menu.
You can also open the Admin Console from your web browser using the correct URL, for example: http://localhost:4848.
The default log in username isadmin, and the password is adminadmin.
The Sun Java System Application Server Admin Console opens in a new browser window.
On the left pane under the JBI node expand Components and choose sun-javaee-engine.
The Java EE Service Engine properties page opens.
Click on the Start button on the General tab page to start the Java EE Service Engine.
Navigate to the location where you have installed the GlassFishESB and open the folders glassfish-> bin.
Double click asadmin.batfile.
At the asadmin command prompt type start-jbi-component sun-javaee-engine.
The Java EE Service Engine comes installed and configured when the GlassFish application server is installed. If you uninstall the Java EE Service Engine accidentally, you can use the CLI (Command Line Interface) to install it again manually.
Type the following command:
asadmin install-jbi-component [ApplicationServer-InstallDir]/jbi/components/sun-javaee-engine/appserv-jbise.jar
Using the CLI we can perform many operations.
To stop the Sun Java EE Engine, type:
asadmin stop-jbi-component sun-javaee-engine
To shut down the Sun Java EE Engine, type:
asadmin shut-down-jbi-component sun-javaee-engine
(Optional) To uninstall the Sun Java EE Engine, type:
asadmin uninstall-jbi-component sun-javaee-engine