|
|
EJB 2.0 - Using an EJB within a JSP |
|
|
|
Looking up account 10020 ... Account 10020 found; balance is $40900.0 Part A:Deposit and attempt to withdraw more than the currentaccount balance. An application-specific exception should be thrown:-Current Balance: $ 40900.0 New balance: $ 41000.0 PartB:Withdraw an amount greater thancurrent balance. Expecting an exception...Received expected Processing Error:Request to withdraw $41010.0 more than balance 41000.0 in account 10020 Part CCreate some new accounts, with different initial balances.Find all the accounts with a balance greater than a specific value.When finished, the new accounts are removed.
Success: 5 accounts successfully created Querying for accounts with a balance greater than 700.0
Now Removing the accounts we just created... Completed EJB operations at Sun Nov 22 14:21:05 PST 2009
|
|
|
|
Last updated: July 2005 View the documentation and source code for this example
|
|
|
Home |
Corporate Info |
News |
Solutions |
Products |
Partners |
Services |
Events |
Download |
Sales
Copyright 2008, BEA Systems, Inc. All rights reserved.
Contact BEA