Pergunta de entrevista da empresa Inovis

When an application exception is thrown in a stateless session bean... will the transaction get rolled back?

Resposta da entrevista

Sigiloso

6 de jun. de 2010

No. The transaction will not get rolled back for application exceptions. It only gets rolled back for EJBException or Runtime exceptions (although the latter should not be thrown, inside an EJB by the developer)