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

EJBContext.getEJBObject / getEJBHome obsolete in EJB3 ?

 
Benoît de Chateauvieux
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

In OReilly EJB3 11.2, I read:
The getEJBObject( ) and getEJBLocalObject( ) methods are obsolete and will throw an exception if invoked on. They are objects that are specific to the EJB 2.1 style of defining EJBs.

But I can't find this in the spec and when I test it with my OC4J
- I don't have any error, with a Bean with business remote interface
- but I have an error, with a Bean with business local interface

Any idea ?
Thanks,

Beno�t
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic