First page Back Continue Last page Graphics
The Bean Class...
All coding changes are in the bean class:
- Class declaration: class is not abstract.
- ejbCreate( )
- Perform insert here
- It must return a new PK object instead of null
- ejbLoad( )
- Get PK from context
- Do select to load data
- ejbStore( )
- Do update to write data
- Throw EJBException if failed
Notes: