I think it should be:A method that is annotated with @Asynchronous must not throw any exception.
A method that is annotated with @Asynchronous and returns void must not throw any exception.
Moderators: Site Manager, fjwalraven
I think it should be:A method that is annotated with @Asynchronous must not throw any exception.
A method that is annotated with @Asynchronous and returns void must not throw any exception.
it should be:All methods that are to be exposed in a business interface must be public. Also, a method that is annotated with @Asynchronous must not throw any exception.
All methods that are to be exposed in a business interface must be public. Also, a method that is annotated with @Asynchronous and has return type void must not throw any exception.
From Java SE Tutorial http://docs.oracle.com/javase/tutorial/ ... ceDef.html :All methods that are to be exposed in a business interface must be public
I thought business interfaces are just plain java interfaces, but maybe this is JEE specific behaviour that all methods must have public modifier?All methods declared in an interface are implicitly public, so the public modifier can be omitted
Users browsing this forum: No registered users and 4 guests