Andreas,

I think that you will find that Jetty already exposes all this to JBoss 
via JMX (perhaps not the list of current deployments - but that's not a 
problem - I will sort it).

However a few points.

1. Are you sure that JSR77 talks at the granularity of Servlets - or is 
it WebApplications - or both. A Servlet is not the unit of deployment, 
the WebApplication is. A WebApplication may contain 0-n Servlets.

2. Jetty has a concept of deploy, start, stop and undeploy. Currently 
webapps are started as soon as they are deployed - so when you say 
start/stop, do you mean deploy/undeploy or start/stop ?

3. I am keen for Jetty to support a restart() and a redeploy() - atomic 
functions which put incoming requests on hold while they do their job - 
thus ensuring 24*7 service, with no lost requests, even if you upgrade 
your website at a peak time... I believe JSR77 also has optional? 
provision for (at least one of) these. I think that it is important that 
we support it from the start even if it is simply implemented in terms 
of the others...

Comments ?


Jules

Andreas Schaefer wrote:
> Hi Greg
> 
> To make JSR-77 implementation (a J2EE management
> API) complete I need to support the web-service and
> I wills start with Jetty (it seems to be tough enough).
> 
> To start with I need a place where I can create a
> WebModule (represents a WAR file) and each
> Servlet (for now the once defined in web.xml).
> 
> For me its seems that the deployment of the servlets
> are deep inside Jetty and I am not quite sure how
> we want to integrate JSR-77 into Jetty.
> Beause JSR-77 does not provide Java classes to
> implement I would suggest that the necessary 
> information are provide by Jetty MBeans so that
> JSR-77 can pick it up and perform the appropriate
> steps. Therefore I need:
> - List of Servlets deployed
> - A way to start/stop servlets if possible (I would
>    think this means load/unload a Servlet)
> - Any attributes you maybe want to expose to manage
>    servlets (no attributes specified in the JSR-77 spec.)
> 
> Is this possible ?
> 
> Thanx
> 
> Andy Schaefer
>    Code or be coded
> 
> Check out: www.madplanet.com
> 
> 
> 
> 
> -------------------------------------------------------
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development





-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to