File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful Bean Evicted after Exception
 
Similar Threads
Transactional and Extended Scoped Persistence Context does not work as per spec.
Application Error: tried to enter Stateful bean with different tx context, contextTx
There can be only one Stateful Session Bean per EJB Client
difference between stateless and stateful session bean
Dependency injection and stateful session beans