Hellu,

I want to to force a roll-back in my EJB method (I use CMP), under certain
curcumstances.
I like to do that by trhowing a self-made exception, but this doesn't work,
please some help ?

What I do ?:
I extend an self-made exception on  RemoteException (also extended it on the
EJBException) and throw that in my EJB method. I intercept this in my client
servlet, but no roll-back is forced.
If I throw a RemoteException, which undergoes the same interception in the
client, I do get a roll-back.

How must I do this ? Please some help as I can't find any clear information
on this subject ?

Help :(
Eddie

Reply via email to