Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.360 :

Posted: Mon Feb 10, 2014 9:15 pm
by vinkjrwl
Since none of the interface has been annotated with either @Local or @Remote, will not container by default expose a no-interface view in this case?

Re: About Question enthuware.oce-ejbd.v6.2.360 :

Posted: Tue Feb 11, 2014 2:22 am
by admin
vinkjrwl wrote:Since none of the interface has been annotated with either @Local or @Remote, will not container by default expose a no-interface view in this case?
They could be designated as Local or Remote through the deployment descriptor as well, which is not shown. So the annotations are not really required for the purpose of this question.

HTH,
Paul.

Re: About Question enthuware.oce-ejbd.v6.2.360 :

Posted: Thu Apr 30, 2015 5:08 pm
by himaiMinh
I tried this example with GlassFish 3.1.2.
Without @Local on both interfaces, I can still inject the bean and call the bean's method.
I think GlassFish 3.1.2 treats the interfaces as local by default, even without @Local.
Option 1 works with GlassFish.