An application exception that is an unchecked (i.e. Runtime) exception is defined as an application exception by annotating it with the ApplicationException metadata annotation, or denoting it in the deployment descriptor with the application-exception element.
Remember that EJBException extends RuntimeException but it is not an application exception because it is not annotated with @ApplicationException.
The second paragraph doesn't justify my answer from being incorrect does it, since I annotated MyException as an ApplicationException which through inheritance is a RuntimeException?
Lee Kian Giap
Joined: Jan 23, 2008
EJB Core Spec 14.1.1
"application exception class may be defined as a subclass of the java.lang.RuntimeException"