[jboss-user] [Beginner's Corner] - Re: Migrating from JBoss AS 4.2.1 to 5.1.0

jaikiran pai do-not-reply at jboss.com
Wed Apr 6 15:03:34 EDT 2011

jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

"Re: Migrating from JBoss AS 4.2.1 to 5.1.0"

To view the discussion, visit: http://community.jboss.org/message/598297#598297

> Michael Huang wrote:
>   One thing is worth mentioning: the 4.2 allowed the @ApplicationException on SessionEJB, without complaining. It was not sure whether 4.2 just ignored the annoation, or it allows this as a variation of the systax. 
JBoss AS 4.2.x was +not+ fully EJB3 spec compliant. So it was a bug.

> Michael Huang wrote:
> Further, with @ApplicationException on Exception,  5.1.0 loads the EAR successfully, but is there any independent test to verify that it will behave as it's supposed to? Let me know if you know the resutls or plan to do some test. Thanks.
The spec mandates that the @ApplicationException be applied to an exception class and not the bean class. So it's the expected behaviour.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110406/b6022966/attachment.html 

More information about the jboss-user mailing list