|
|
EJB 2.0 - Using an EJB within a JSP |
|
|
|
Looking up account 10020 ... Account 10020 found; balance is $3900.0 Part A:Deposit and attempt to withdraw more than the currentaccount balance. An application-specific exception should be thrown:-Current Balance: $ 3900.0 New balance: $ 4000.0 PartB:Withdraw an amount greater thancurrent balance. Expecting an exception...Received expected Processing Error:Request to withdraw $4010.0 more than balance 4000.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 Fri Mar 19 11:52:12 PDT 2010
|
|
|
|
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 2009, Oracle and/or its affiliates. All rights reserved.
Contact Oracle