Complete administration, from web console to rich command line (
asadmin) has always been a strong set of features in GlassFish and often a key differentiator versus other application servers.
Jason Lee takes you in his blog entry through the basics and the recent development of a more recent administration feature - the RESTful admin interface.
As the name implies this feature exposes administrative and monitoring resources to HTTP clients with responses served in XML, HTML or JSON formats. Pretty much anything you can do with the web console or
asadmin, you can do with this interface - observe pool usage, create data sources, deploy applications, etc.
Jason explains how this is all being enhanced in the current development of version 3.1 with dynamic instrumentation using asm and how you can use the
__debug HTTP header for pretty-printing. Keep an eye on Jason's blog for more advanced topics. Grab a recent promoted build and try for yourself!