JBoss Community

Re: Migrating from JBoss AS 4.2.1 to 5.1.0

created by jaikiran pai in Beginner's Corner - View the full discussion

Michael Huang wrote:

 

I think I probably should rephrase my questions:

1)  Does 4.2 just ignore the annoation, or  allow this as a variation of the syntax.;

I don't know what it does in 4.2. But whatever it does is a bug because @ApplicationException clearly isn't allowed on the bean class.

 

 

Michael Huang wrote:

 

 

2) For 5.10, with @ApplicationException (rollback=true), will the server direct the exception from SessionEJB to its client and rollback the transaction?

 

Yes

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community