[jboss-as7-dev] how to access the management model?

James Perkins jrperkinsjr at gmail.com
Thu Mar 24 11:53:41 EDT 2011


I have a simple Maven plug-in using the Java API. It's probably not 100%
complete yet, but it works for now.
https://github.com/jamezp/jboss-as-deploy-plugin

Anyway, you'll see how simple the Java API is for deploying, redeploying and
undeploying. I'm sure the API does a lot more than what I'm doing with it,
but it's a simple example.
--
James R. Perkins


On Wed, Mar 23, 2011 at 13:19, André Dietisheim <adietish at redhat.com> wrote:

> Hi Jason
>
> thanks for the further insights!
>
> > There is an HTTP interface that can take requests in either JSON or in
> > base64 encoded dmr binary format. We don't call it REST though because
> > "invoking" an arbitrary management operation (e.g. "clear auth cache")
> > does not meet the REST purity definition.
>
> hmm, to be honest I dont really understand why a RESTy semantic (ex.
> post to or delete to the uri of the cache resource) would not allow this
> operation. But I might miss something here since I do not have the same
> background.
>
> >
> > Keep in mind that the remote Java API will be the easiest to use from
> > Java, since it will handle all the transport stuff for you, and
> > exposes a nice API for working with detyped data. The main focus of
> > the HTTP interface is supporting non-Java clients (i.e. scripting
> > languages, and the console which is JavaScript based)
> >
>
> oh, looks like I missed this one. Guess using the java API would be the
> better choice for me then. Is there any documentation about it?
>
> Cheers
> André
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110324/a05aa7ef/attachment.html 


More information about the jboss-as7-dev mailing list