Adam Bien's Weblog

Tuesday Oct 22, 2013

loadr - a GlassFish Java Deployment API

loadr is a deployment utility for GlassFish v3+ (another "classwork") which accesses GlassFish' management API using JAX-RS 2 client: the main functionality is implemented by a single class with a convenient API:


public class Deployer {
    public Deployer(String serverLocation) {}
    public boolean deploy(String archiveFile) {}
    public boolean isDeployed(String appName) {}
    public boolean undeploy(String applicationName) {}
    public void undeployAll() {}
    public Set<Application> applications(){}
}

Some loadr functionality was extracted from http://lightfish.adam-bien.com.

See also https://github.com/AdamBien/loadr#loadr

See you at Java EE Workshops at MUC Airport!


NEW workshop: Microservices with Java EE 7 and Java 8, January 26th, 2015, Airport Munich

A book about rethinking Java EE Patterns

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License