I think I know the answer but I want to verify it. In BMP how are the instance variables of the entity bean initialized when the findByPrimaryKey method is called? thanks.
The container will call ejbLoad when you need to initialize the bean state. All you have to do in findByPrimaryKey is return the PK if it is there, throw ObjectNotFoundException if not.