J
John_Woo
Hi,
I'm using EJB 2. I want to be clear the EJBException vs.
CreateException.
Say, a web app for online purchase.
web client calls session Facade, the session Facade calls cmp. both
session and cmp can catch and rethrow exception.
I'm wondering, which one <session or cmp> throw which exception; and
how to maintain that, if the stateful bean will still contain shopping
info even catches exception thrown by cmp, and how to make stateful
bean refresh <no more contain previous shopping info> after catches
the exception thrown by the cmp?
I'm using EJB 2. I want to be clear the EJBException vs.
CreateException.
Say, a web app for online purchase.
web client calls session Facade, the session Facade calls cmp. both
session and cmp can catch and rethrow exception.
I'm wondering, which one <session or cmp> throw which exception; and
how to maintain that, if the stateful bean will still contain shopping
info even catches exception thrown by cmp, and how to make stateful
bean refresh <no more contain previous shopping info> after catches
the exception thrown by the cmp?