Saturday, March 3, 2007

Web Service in new Java

Since JDK5, development of Web Service has been greatly simplified, largely due to annotation. So waht is indeed annotation?
IMO, annotation is just a kind of specifically formed comment, comment has it's own syntax. The really opinion beneath is how to process these comments, but not what they are. I bet there are already legacy projects developers utilize these idea to ease their life (In c word, perl word etc).

And why annotation so popular?
Two key points: 1. The user community. 2. Integration(Source code, tool, sdk support)

The syntax are cited below:
jls7.4.1.1


jls9.6


jls9.7


jls13.5.7

And also see the doc for tool apt

No comments: