"wolfc" wrote : Or even better:
| * If bean class implements a single interface, that interface is assumed to be a
business interface of the bean. This business interface will be a local interface unless
the interface is designated as a remote business interface by use of the Remote annotation
on the bean class or interface or by means of the deployment descriptor.
I think this is the correct case.
"wolfc" wrote :
| 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).
|
Disagree with the last statement; unclear here whether the spec dictates that
"SomeInterface" must be the *only* local business interface:
"EJB3 4.6.6" wrote :
| If bean class implements a single interface, that interface is assumed to be the
(local) business interface of the bean.
So the question becomes: can we intrepret "the" as "a"?
If so, in the case above I'd have "SomeInterface" be exposed as local
business, as well as "RemoteInterface" as remote business.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093693#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...