SLSB and Exceptions

Dummy one...Is just EJBException that causes the SLSB instance to be destroyed or any RuntimeException when thrown could cause that?Regards
[160 byte] By [vccarvalhoa] at [2007-10-3 10:08:04]
# 1
I'm pretty sure I didn't understand your question.
aniseeda at 2007-7-15 5:27:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

ejb2.1-spec, 7.8.3:

A RuntimeException thrown from any method of the enterprise bean class (including the business

methods and the callbacks invoked by the container) results in the transition to the 揹oes not exist?state.

There's your answer.....

Any RuntimeException would cause the container to discard the instance.

urishermana at 2007-7-15 5:27:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Thanks a lot, that was it :) Runtime exceptions discards the instance... This is a cost operation isn't it?Regards
vccarvalhoa at 2007-7-15 5:27:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
What is a cost operation?
urishermana at 2007-7-15 5:27:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...