Categories
General

TC4/TC5 – Character Encoding

Tomcat 4 and Tomcat 5 handles character encoding of the document body and the URI in diferent ways. One of the main differences is that in TC5 HTTPServletRequest.setCharacterEncoding(…), by default, only applies to the body and not the URI. In other words, use POST instead of GET if you want .setCharacterEncoding(…) to apply to your form data.
Read this Tomcat FAQ post by Remy Maucherat to understand the whole picture.

Categories
Development

SOA Antipatterns

IBM DeveloperWorks has a good article with common SOA antipatterns here. I’m no big fan of SOA, but that doesn’t mean it doesn’t have a use. It’s just that the hype has to pass and everyone has to realize it’s not something you have to use everywhere. How long did it take with EJBs? 😉

Categories
Development

Spring transaction details

There’s a good in-depth article on Spring transaction handling here.