Servlet 3.0 Features Spark Debate

InfoQ have jotted a few notes about the release of a draft specification for version 3.0 of the servlet API. From what I see in this article, I’m not sure I agree with much of the approach. In particular the idea of using annotations in the source code to define URL-mappings seems completely contrary to the principle of self-similarity and to the re-use of code generally.

I plan to have a think about this and write a more thoughtful and detailled blog entry, but here’s a link to the article in question.

InfoQ: Servlet 3.0 Features Spark Debate

One Comment

  1. Amen, I also think the annotations are the biggest problem currently in this spec (JSR-315). The auto-discovery everybody is talking about can be turned off with one little line of XML… but the annotations, people will use them for sure.

    Some more thoughts on them are on my website, also explaining why the annotations break code-completion and typo-checking:

Comments are closed.