The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 The Open Road: Looking Ahead to Java 7
Subject:  Re: Currency
Date:  2008-04-04 05:07:56
From:  cat


In my opinion, a few cosmetic changes to java.util.Currency are not enough. And after meeting with a lot of fellow JCP members at QCon I am not the only one sharing it.

Similar to JSR-310's approach towards Date and Calendar there should be a true type and value support for a real Monetary Unit. Not just a few cosmetic changes to the already cosmetic Currency class.

The fact that this class and its native OS support are often faulty became obvious, when I just created a Spring based showcase for JSR-275 and an experimental, but fairly succesful Money and Stock Market example based on it.
While the JSP tags using Currency badly failed and ended up showing only "?" or similar placeholders on many systems (such as Mac) the JSR-275 based one worked fine in all cases.

 Feed java.net RSS Feeds