Posts

Showing posts with the label rest

What's in Spring 3?

One session talked about the upcoming Springframework 3.0. It is more annotations, support for validation in JPA/Hibernate beans. Most interesting is that Spring will solve the REST -problem in Java. Python and Ruby has already solved it. JAX-RS does not solve it in Java. It does not support a way to negotiating what format the result should be in (JSON, XML, HTML etc). Spring 3.0 solves this. So this will be very usefull. Spring 3 will be available early this summer. The conference has ben good so far. Two days to go. I have also attended a talk about performance tuning of Tomcat and a more detailed talk about Roo wich I mentioned from the keynote.

JavaZone day one continues

After a quick lunch I planned to listen o the OO and process guru Ivar Jacobsson but the room was full even before I got my sandwich. Instead I entered a seminar about REST which was quite interesting. Teh speach presented the fundamental architectural principles and explained problems and possibilities with real world examples. Then I entered a seminar about how to structural code in a good manner to allow the software to evolve. It is quite connected to my old research area of maintainability of object oriented programs. The conclusion is the same as for ten years, but they need to be repeated; Avoid circular dependencies. Have cleare aims of your packages, modules etc. If you get circular dependencies, do refactoring. Of course it may break backward compability. You need of course think how to handle lack of backward compability. So far I haven't seen any Linux computers, except of my own Ubuntu. The rest are Mac or Windows, I wonder why.