--> Could you please share your insight on how far this Servlet 3.0 makes an impact comparing to older version?.
These are some of the most important new features in Servlet 3.0:
- Annotation types that make the deployment descriptor (the web.xml file) optional. It's much easier to write a servlet now.
- Asynchronous operations for long-running tasks.
- File upload. It's finally a built-in feature. No need for a separate library.
And this one is really cool that will make framework developers happy:
- dynamic registration and servlet container initializers. At present if you want to use a framework such as
Struts 2 or Spring MVC, you need to modify your deployment descriptor to incorporate the filter dispatcher or servlet controller of the framework. With Servlet 3.0, a framework can register itself. To use it in a project, simply copy the jar and you're ready to go.