Over a million developers have joined DZone.

GlassFish 4 Command Line 101

· Java Zone

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

At it's heart Java EE is a standard API and SPI for developing applications that are deployed to an application server runtime. Though some people miss this point most application servers like WebLogic and GlassFish are far more than vessels for applications. Application servers also typically provide a rich set of features geared towards scalability, security, systems integration, optimization, diagnostics, management and monitoring. The GlassFish command line interface (CLI) is a great example of just such a feature. Though many people prefer to administer GlassFish though the graphical admin console, the CLI is extremely useful for scripting administration tasks as well as potentially getting things done faster.

If you haven't explored the GlassFish CLI you should definitely take a look to get a sense of it's power and utility. Andy Pielage of C2B2 consulting has one of the best write-ups that I have seen for the GlassFish CLI. He explains the basics, offers useful insights and explores some of the most useful commands using great examples. It's a fantastic resource for getting started with the CLI.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:

Published at DZone with permission of Reza Rahman, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}