This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBObject.getPrimaryKey()  RSS feed

 
Srikanth Basa
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given that this method is supposed to be called on an Entity Bean only, why didn't the EJB architecture team consider exposing sub-interfaces like EntityBeanEJBObject, SessionBeanEJBObject ? so that the getPrimaryKey() method can be called only from EntityBeanEJBObject and not from others (any thoughts) ?
 
Joseph Sweet
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Backward compatibility.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!