Actually, the ejbFindByPrimaryKey() method must be implemented by the container when it generates the concrete (container-specific) entity bean class. The bean provider must not declare such a method in his abstract entity bean class as mentioned in section 10.7.2 of the
EJB 2.0 spec.
The entity bean class does not implement the finder methods. The implementations of the finder methods are provided by the container.