Managing GlassFish without NetBeans

Starting and stopping GlassFish in NetBeans is easy and convenient. However, in enterprise environments the stop/start process will be managed by scripts wrapping the asadmin utility. A full description of the utility can be found in the GlassFish User Administration Guide at https://glassfish.java.net/docs/4.0/administration-guide.pdf.

The asadmin utility is used to perform administrative tasks for the GlassFish server from the command line or from a script. You can use this utility instead of the GlassFish administration console interface we used earlier in this chapter. Almost every action that can be performed in the administration console has an equivalent command that can be executed with asadmin.

The

Get Enterprise Application Development with Ext JS and Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.