First page Back Continue Last page Graphics
...The Bean Class
- ejbRemove( )
- Do delete
- Throw RemoveException if failed
- ejbFind*( )
- Perform select
- Return PK or Enumeration of PKs
- Container still creates actual instances
- Need one for each find*( ) in home interface
Where to get the connection?
- If pooled - get one from pool for each change
- If not pooled - keep one in instance variable
Notes:
Examples follow...