T
tomo
Let's say I have some data in table named TableA and some data in TableB,
and I have to make some calculation using data from those tables.What is the
best
way to do it ? And the program needs to support mupliple calculation
versions, for example one parameter is calculated for version one with one
formula but for
version two with different formula.
1.Store formulas in DB ? Wher user clicks let's say "calculate", formulas
are get from DB, parsed and data if found from DB and calculated ?
2.Store formulas as String constants in bean (class) , and than calculate ?
3.Use factory method approach ?
Thanks in advance.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4482 (20091005) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
and I have to make some calculation using data from those tables.What is the
best
way to do it ? And the program needs to support mupliple calculation
versions, for example one parameter is calculated for version one with one
formula but for
version two with different formula.
1.Store formulas in DB ? Wher user clicks let's say "calculate", formulas
are get from DB, parsed and data if found from DB and calculated ?
2.Store formulas as String constants in bean (class) , and than calculate ?
3.Use factory method approach ?
Thanks in advance.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4482 (20091005) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com