Re:Build RESTful web services with Java technology
by rauar on Wednesday August 15, 2012 @03:11AM
(#4384968)
I prefer plain files instead of annotations. Just wish the non-readability of XML would go away with less bloated format (which other frameworks did with JSON).
[ Parent
| on HN ]
Re:Build RESTful web services with Java technology
by moondowner on Wednesday August 15, 2012 @04:41AM
(#4385142)
Fair enough argument :)
Though, now that I've gotten into the annotation way I like it the most.
Re:Build RESTful web services with Java technology
by rauar on Wednesday August 15, 2012 @02:07PM
(#4387273)
I mix them usually. Layer-oriented stuff like @Transactional and @RequestMapping incl. Path/HTTP Method etc. in the code, central declaration stuff like e.g. Marshallers, HandlerAdapters, global ExceptionHandlers in XML...
:)