Anyone having time to help?
Hi all,
am new to ejb and my problem is am having one jsp with three textboxes and three buttons like showbalance button, credit button, debit button. and i have two beans(one statefull and stateless)
inside statefull bean am having two variables like userName, amount and when ever the user clicks showbalance button i simply display the amount variable value and then if the user clicks credit button am simply add the textbox value with the bean's amount value and then i will call showbalance method from credit method the same is in the debit case also.
Now my problem is when ever am running the jsp i mean while cilcks the credit button its displays the credit amount as which i typed in the textbox i mean its not getting added with its previous value.
but if i do this with stateless na its getting updated but its keeps incrementing the values no matter about the client (even while running from same machine ie (first i want to kno how the clients are differentiated by ejb ? and how?) )
so i want to do this minibank application in which the app allow user to enter his name and display his balance and if he enters any amt and cllick credit button na it should add that amount with previous amount and it should be unique for clients no clients can see others amount
so any one plz help me..
am started to wait for u people..
if i ask anything wrong kindly adjust it and give me u r valuable idea's and suggestions
Thanks in advance..
GoodDay !....

