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

Moderator: admin

Post Reply
vinkjrwl
Posts: 7
Joined: Sat Feb 08, 2014 8:30 pm
Contact:

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

Post 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?

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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.
If you like our products and services, please help us by posting your review here.

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

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

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 80 guests