Salut,
Survivant 00 wrote:
> this program is based on contrib : http-servlet-deployer :
> ServletWarDeployer.java
>
> but this version will support multiple ServletAdapter.
>
> Everything will be done by magic :)
>
> GrizzlyWebServerDeployer -a /Temp/hudson.war
>
> things that will be added :
>
> - use war file as default context : localhost:8080/hudson .. now it's
> http://localhost:8080/
OK Hudson will not works if not located under Hudson. The static
resources are not serviced as suspect because the page refer to /hudson/bla
> - support static files : now I got a exception because I didn't set the
> flag to load static resources (or it's a bug)..
> - testcases (of course)
> - will add a sample application that contains all the attributes
> available in web.xml (2.3)
> - add logging too.. didn't had time yet.
> - oh ya... it will support a file.war or a webapp already deployed.
:-)
>
> any suggestion is welcome.. let's have a beast within the beast :)
What I would like to propose when the module is stable enough is to
re-use/re-factor you code, and move it under
http-servlet/src/main/java/com/sun/grizzly/http/servlet/deployer
and start using it for all modules/bundles/* that requires Servlet
deployment support. Right now comet/cometd/servlet/webserver users needs
to name the Servlet class and it would be much more easier to re-use
your work.
>
> do you think we can put that on a OSGI module and be able to disabled a
> servlet at runtime ? (never tried that)
>
>
> I think for most users that use servlet.. it will be easy to launch it
> with that program. they could just create a web.xml and that's it..
and more :-) Great work!
A+
-- Jeanfrancois
>
> go I'm waiting for your comments.
>
> when I will commit that, I'll blog about this baby.
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net