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!

Comments:

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
...the last 150 posts
...the last 10 comments
License