users@glassfish.java.net

Re: ApplicationException annotation ignored if exception in lib dir

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 May 2007 09:38:29 PDT

In order to declare an exception type as an Application Exception using metadata you need
to package the exception with the corresponding ejb-jar.

If you prefer to package it outside the ejb-jar, you can still declare the Exception as
an Application Exception using the application-exception element in the assembly
descriptor portion of the ejb-jar's ejb-jar.xml.

 --ken
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=215382