DecimalFormat and select the currency from that.Check out the parent
class of these for more details.

thanks,
jd

On 10/17/10, Deepak A L <deepakl.2...@gmail.com> wrote:
> Hi,
> 1> We are designing a java based application for currency conversion where
> the currency name and currency decode values are stored in Currency
> Table,The foreign exchange rates are stored in Foreign_exchange rates
> table.I have to go ahead and implement this,can you please suggest me some
> ideas as to how should i go about implementing this.This scenario is in
> Trading based real time application where the foreign exchange rates are
> changing every now and then,so my question is how will i get the latest
> value which will be in sync and calculate the "correct conversion
> rate".Please advice..What datastructure should i use for implementing this.
>
>
> Currency Table
> Currency name| Decode
> Indian Rupee | INR
> Foreign Exchange Rate(Example) table
> CurrencyName| F_E_Name| F_E_Value
> INR | USD | 46
> INR | EUR | 56
> INR | GBP | 80 INR | Dinar | 120 ... so on
>
> The above values will be got from a foreign exchange feeder system,how will
> i ensure the values are in sync always?Hope my question is understood now.
> Can anyone suggest how to implement this in java
>
> 2>How should i implement a "Tree Structure" in Java Based application.?How
> would i map the entries to the database table?how many tables will i require
> for this implementation.?
>
> List records<String> = new ArrayList<String>();
> records.add("null");
> records.add("Product");
> records.add("Category");
> records.add("P1");
> records.add("P2");
> records.add("P3");
> records.add("C1");
> records.add("C2");
> records.add("C3");
>
> so how should i implement a Tree Structure for the above record set.
> //P1,P2,P3 belong to Parent {Product}
> //C1,C2,C3 belong to Parent {Category}
>
> --
> To post to this group, send email to
> javaprogrammingwithpassion@googlegroups.com
> To unsubscribe from this group, send email to
> javaprogrammingwithpassion+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en

-- 
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to