The Bean Provider must specify the primary key class for an entity bean with bean-managed persistence, and may (but is not required to) specify the primary key class for an entity bean with container-managed persistence.
For a CMP bean, the PK can be inferred from the findByPrimaryKey method.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, that will fit in a stocking