Wednesday, January 21, 2009

An Overview of Servlet 3.0

An Overview of Servlet 3.0 Javalobby

Looks like java EE 6 will have a new Servlet class that is intended to simplify servlet and filter deployment as well as add some async functionality to help support web services.

The web.xml file will still be around, but you will be able to choose between one big xml file and several 'fragment' files. You will also be able to configure your servlets using annotations instead of the standard descriptor file. This may be handy for implementing listeners where you will be able to define a context listener by adding @WebServletContextListener.

Async calls and enhanced security are in the mix too and will be available in Java EE 6.

No comments: