|
It's been too long since I read the EJB2 spec, so I'm not sure what it says on this, but the EJB3 spec mandates that if an EJB throws a system exception, the EJB container must log the error and then throw it back to the client. If an EJB throws an application exception, the container should just throw it. This makes sense to me. Regardless, your EJB should not do any log and throw on its own. |