• Post Reply Bookmark Topic Watch Topic
  • New Topic

Primary Key of an Entity Bean  RSS feed

 
mini mehta
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have got a very fundamental question to ask about the Primary Key of Entity bean. As Primary key class needs to directly or indirectly implement the Serializable interface, does it mean that the properties(instance variables) of the Primary Key class needs to Serializable objects or Primitive type???
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Otherwise you would be unable to send the Primary Key down the "wire" to the EJB server in order to be able to access the EJB.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!