dev@glassfish.java.net

Re: Suggestions for improvements: AMX (DeploymentMgr)

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 21 Jul 2006 10:23:55 -0700

vince kraemer wrote:
> Kohsuke Kawaguchi wrote:
>>
>> Thanks. It sounds like the bottom line is that my expectation and AMX
>> is bit different. So maybe I should explain why I ended up looking at
>> AMX.
>>
>> What I'm ultimately trying to do is to programatically control
>> Glassfish from my program (for the purpose of testing the JAX-WS RI.)
>> I sent an e-mail to this alias earlier (search for "Programatically
>> control glassfish?" thread in the archive), and people kindly sent me
>> a few leads that I should investigate.
>>
>> So I started by looking at JSR-88, since one of the things we wanted
>> to do was to deploy and undeploy applications. This worked fine, but
>> then I realized I needed to do a few more things. One of those was to
>> identify the HTTP port number (so that I can access the application
>> that I just deployed via HTTP.)
>
> would
> http://java.sun.com/javaee/5/docs/api/javax/enterprise/deploy/spi/TargetModuleID.html
> help resolve this?
>
> The port should be accessible through the JSR 77 MEjb....

D'oh! Thank you very much.

This looks like just what I need.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com