Wednesday, January 28, 2009

Servlet 3.0 Public Review Updates

Hi,
Servlet 3.0 came to public review , Here are some highlights

1) Annotation based notations
for ex:
@WebServlet(name="k",urlPatterns="kk",initParams={"l"})
public class newServlet extensd HttpServlet
{

}
you can have filter also have annotation @ServletFilter
instead of having Entries in web.xml file.

2)Asynchronous Support:
Servlet can wait for a particular resources(JDBC,WebService etc) asychronously.
3)Secuirty Feature:
HttpServletRequest and HttpServletResponse having feature like Login ,when ever request comes automatically forwading to Login Page and as like Logout feature.

No comments: