Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

primary key class in entity bean  RSS feed

rohit kumar
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
Boost this thread!