Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBObject.getPrimaryKey()

 
Srikanth Basa
Ranch Hand
Posts: 241
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Backward compatibility.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic