This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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