Bean things you can do during entity creation:

image with no caption
image with no caption

ejbCreate()

ejbPostCreate()

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 ...

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.