Entity Beans  «Prev  Next»

Bean Managed Persistence - Exercise Result

You Said:

Course project part 3:
Create the client for a bean-managed persistent entity bean

Suggested results


When the BankCustomer client executes, you should see the following results:
creating account minnie
finding account minnie
calling credit(100)
Account: minnie  Balance: 100.0
calling debit(150.0)

Exception while invoking business methods NSF! Account: minnie, Balance: 100.0, Requested withdrawal: 150.0



When the BankCustomer2 client executes, you should see the following results:
finding account minnie
calling credit(100)

Account: minnie  Balance: 200.0
removing the account entity and the bean