Ouch.. DateFormat concurrency issue

Posted by & filed under java.

I wrote many ejb’s using SimpleDateFormat object to format date, implement time shift etc.¬†Unfortunately I didn’t care about thread safety. And¬†suddenly turns out you need to sychronize access to it because it’s not thread safe. I red an article 3 possible ways of dealing with it in project. (except of course best solution of using… Read more »