adam bien's blog

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!