I think if would be useful if Java had a currency API.
The basic feature a user.currency property that is the 3-char ISO code
for the preferred currency taken from the OS or inferred from the user
country. It might also work like Locales, or be an extra field in
Locale.
Also it would be nice if there were a transparent mechanism to tell
you the conversion rates. If you had access to the Internet, it would
automatically retrieve the data from Oracle once a day. Otherwise you
would need to mechanism to walk the date into Java's isolated from the
net.
This would be used for displaying prices in user units on websites.
Currency speculators want various flavours of exchanges and up to the
second data, like a stock ticker. I don't think Oracle should worry
too much about that, though they might to a JavaMail style plugable
interface definition for fancy stuff.
--
Roedy Green Canadian Mind Products
http://mindprod.com
It should not be considered an error when the user starts something
already started or stops something already stopped. This applies
to browsers, services, editors... It is inexcusable to
punish the user by requiring some elaborate sequence to atone,
e.g. open the task editor, find and kill some processes.