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 http://lightfish.adam-bien.com.

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

See you at Java EE Workshops at MUC Airport!


NEW 2016: Java EE 7 Workshops: Bootstrap, Effective, Architectures, April, 4th-6th, Munich's Airport
On demand workshops: Java EE 7 Bootstrap, Effective Java EE 7 and NEW: Java EE 7 Testing are available for streaming

Newsletter: airhacksnews.com

A book about rethinking Java EE Patterns

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