About Question enthuware.oce-ejbd.v6.2.360 :
Moderator: admin
-
- Posts: 7
- Joined: Sat Feb 08, 2014 8:30 pm
- Contact:
About Question enthuware.oce-ejbd.v6.2.360 :
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?
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.360 :
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.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?
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.360 :
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.
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.
Who is online
Users browsing this forum: No registered users and 80 guests