The failing scenario is:
@Stateless class MyBean extends SuperBean implements SomeInterface {}
|
| interface SomeInterface {}
|
| class SuperBean implements RemoteInterface {}
|
| @Remote interface RemoteInterface {}
If I follow the letter than SomeInterface will become the only business interface
(local).
If I follow EJBTHREE-785 than RemoteInterface will become the only business interface
(remote).
I think we can get away with the following:
* If the bean class has no interface (including interfaces from superclasses) explicitly
declared as a business interface and the bean class implements a single interface, than
that interface is assumed to be the local business interface of the bean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093133#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...