Hi,
I have a small merketplace and a shopping cart that is a Stateful Session Bean (SFSB). The
order() method is annotated with @Remove. In only very few cases the items in the basket
were bought by someone who was faster. Then I throw an Exception before the order can be
created.
BUT: How can I avoid that the SFSB is removed in these cases?
I have tried it with Exceptions, RuntimeExceptions, @ApplicationException annoted
Exceptions but nothing helps. The SFSB is ALWAYS removed.
Any suggestions?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103835#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...