This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Stateful Bean Evicted after Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Stateful Bean Evicted after Exception" Watch "Stateful Bean Evicted after Exception" New topic
Author

Stateful Bean Evicted after Exception

Bradley Rintoul
Greenhorn

Joined: Apr 01, 2003
Posts: 14
I have a SFSB which I am storing a reference to in the web session. It seems like after an exception is thrown (and not handled "immediately") in the SFSB, the proxy to it becomes useless. I get a "Could not find stateful bean" exception upon trying to use it after the exception is thrown.

Is there anything I should keep in mind when thinking about exceptions and SFSBs?

Thanks!
 
jQuery in Action, 2nd edition
 
subject: Stateful Bean Evicted after Exception