Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB question

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which one of the following methods is generally called in both ejbLoad() and ejbStore()?
a getEJBObject()
b getHandle()
c remove()
d getEJBHome()
e getPrimaryKey()
 
Debanjana Dasgupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
e) getPrimaryKey()
Debanjana
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are we talking about BMP or CMP? That omission alone makes this a bad question.
Assuming CMP, I would say the answer is getPrimaryKey().
In the case of BMP, it is entirely up to the developer...
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can not understand why ? hope you give me an explanation? thanks
[ February 27, 2003: Message edited by: Timber Lee ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic