Adam Bien's Weblog

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

See also

See you at Java EE Workshops at MUC Airport!

NEW dates, new workshop: Java EE 7 Workshops: Bootstrap, Effective, Architectures, JavaScript Bootstrap and HTML 5 December, 7th-11th
NEW: Effective Java EE 7 -- Available For Streaming


A book about rethinking Java EE Patterns


when the SERVER_LOCATION url is http it works ok.
But when it is "https" it does not work and the response code is 302.
I am trying to make a deploy on a remote server but without success.

Posted by Bruno on August 27, 2015 at 12:47 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments