aspose file tools*
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 Java 8 in Action this week in the Java 8 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

Stateful Bean Evicted after Exception

Bradley Rintoul

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?

I agree. Here's the link:
subject: Stateful Bean Evicted after Exception
Similar Threads
There can be only one Stateful Session Bean per EJB Client
difference between stateless and stateful session bean
Transactional and Extended Scoped Persistence Context does not work as per spec.
Application Error: tried to enter Stateful bean with different tx context, contextTx
Dependency injection and stateful session beans