News for hackers. Stuff that matters.
Re:Build RESTful web services with Java technology by moondowner on Wednesday August 15, 2012 @02:55AM (#4384937)
You don't need JSON configuration even if it was existing.

You can use annotation based configuration (meaning Java classes with annotations like @Configuration, @EnableWebMvc etc..) for > 90% of the configuration cases:

http://blog.springsource.org/2011/06/10/spring-3-1-m2-config...

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).
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...

:)