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/
- 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 :)
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..
go I'm waiting for your comments.
when I will commit that, I'll blog about this baby.