Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

primary key class in entity bean

 
rohit kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I have a Account Bean, its remote interface Account, its home interface AccountHome and the primary key class AccountPK - why is it I have to have a primary key class separately in Bean Managed Persistence can't I have it done from the home interface itself or the ejb object - is it because of the inherent problems associated with BMP and that is the reason why all these overheads of primary key generator class is done by the container IN CMP?
[ June 22, 2007: Message edited by: neo trinity ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic