• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on BMP bean.

 
Hanuma Deepak Muvvala
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have one doubt on BMP bean,
"Is the findByPrimaryKey, a mandatory for a BMP bean in home interface and its implementation in Bean class?"


Thanks,
Deepak.
 
Rajesh Tongia
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, this is the only mandatory method from the Home interface.

In case of CMP beans one should not implements or put anything related to
finder methods in the bean class. Container will implement these methods
looking at the home interface and the deployment descriptor.

Regards,

Rajesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic