Bean things you can do during passivation and storing

image with no caption

ejbStore()

ejbPassivate()

Use your EntityContext to:

Use your EntityContext to:

get a reference to your home

get a reference to your home

get a reference to your EJB object

get a reference to your EJB object

get your primary key

get your primary key

get security information about the client

get security information about the client

force a transaction to rollback (CMT beans)

force a transaction to rollback (CMT beans)

find out if the transaction has already been ...

Get Head First EJB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.