N
Navnath Gadakh
i am new to java and i want to develop one banking software in how start and what framework or shall i use plan java plz help?
Thanks in adv
Thanks in adv
i am new to java and i want to develop one banking software in how start and what framework or shall i use plan java plz help?
i am new to java and i want to develop one banking software in how start and what framework or shall i use plan java plz help?
Thanks in adv
bob said:Navnath said:i [sic] am new to java and i want to develop one banking software in how start and what
framework or shall i use plan java [sic] plz help?
It sounds like you will want to use Swing with a MySQL backend.
Also, be careful with float and double rounding errors.
i am new to java and i want to develop one banking software in how start and what framework or shall i use plan java plz help?
Much banking software are batch processes. The only auxiliary tool
you would need in as database . See
http://mindprod.com/jgloss/sql.html
For clerks to make transactions, you might use Java programs for data
entry then send data to a server.
For customer online banking you would likely use a browser sending CGI
transactions to a servlet womb.
It sounds like you will want to use Swing with a MySQL backend.
Also, be careful with float and double rounding errors.
bob said:It sounds like you will want to use Swing with a MySQL backend.Navnath said:i [sic] am new to java and i want to develop one banking software in how start and what
framework or shall i use plan java [sic] plz help?
Based on what?
That is an insane answer.
If it's a Web application then Swing could be the wrong choice.
MySQL is likely the wrong choice.
There should be no use of 'float' in financial calculations. I have heard people
defend the use of 'double' for certain use cases, but I am dubious of that
reasoning. I would avoid 'double'.
i am new to java and i want to develop one banking software in how start and what framework or shall i use plan java plz help?
Welcome.i am new to java and i want to develop one banking software in how start and what framework or shall i use plan java plz help?
It is one UI and one database, but there are plenty of alternatives.
Better just avoid float and double completely when dealing with money!
[...]And how will you be calculating interest ?Better just avoid float and double completely when dealing with money!
With a proper decimal numeric format. E.g. BigDecimal. These exist
precisely because of this specific issue.
Don't you need to be able to raise to a floating point power for interest? (i.e. not an integer)On Tue, 2 Oct 2012 07:18:51 -0700 (PDT), bob smith wrote:
[...]
Better just avoid float and double completely when dealing with money!
And how will you be calculating interest ?
With a proper decimal numeric format. E.g. BigDecimal. These exist
precisely because of this specific issue.
For example?
All my banks simply compute simple interest periodically, compounding as
necessary. It's straight multiplication, no exponents necessary.
When is a "floating point power" needed? And if it's needed, what is to
preclude one from writing a proper decimal implementation rather than
improperly using float or double for financial computations?
[...]However, it you want to compound continuously, I think you will need it. ( To use P*e^(r*t) )
Define "continuously". Do you mean as in computing an integral? What
financial institution needs to do that? For what computation? Please
provide an actual example.
If you simply mean more than one period of compounding, then the finite
nature of these computations means that it is sufficient to simply iterate
as needed.
And, good luck representing e with your BigDecimal class.
Fortunately, e is not a commonly used constant in financial computations.
And, good luck representing e with your BigDecimal class.
Peter Duniho said:[...]
However, it you want to compound continuously, I think you will need it. ( To use P*e^(r*t) )
Define "continuously". Do you mean as in computing an integral? What
financial institution needs to do that? For what computation? Please
provide an actual example.
Peter said:bob said:[...]
However, it you want to compound continuously, I think you will need it. ( To use P*e^(r*t) )
Define "continuously". Do you mean as in computing an integral? What
financial institution needs to do that? For what computation? Please
provide an actual example.
If you simply mean more than one period of compounding, then the finite
nature of these computations means that it is sufficient to simply iterate
as needed.
And, good luck representing e with your BigDecimal class.
Don't you need to be able to raise to a floating point power for interest? (i.e. not an integer)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.