This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Annotations are introduced in java 1.5 and the same annotation processing technique has been implemented in servlets to support annotations for configuring and other process. This reduced the burden of configuring xml files and more. For example @WebServlet,@InitParam etc.
No pain, No gain.
OCJP 1.6, Liferay Certified Developer 6.1