Use the component interface
The client can use the bean's
component interface
to:
Invoke the bean's methods
Delete the bean
For example:
// Use the bean anAccount.deposit(1000000); // Remove it anAccount.remove();
Parent topic:
Enterprise beans—what can a client do with a bean?
Related concepts
:
Get a reference to the bean's home
Use the home interface