• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

EJB - Remote or Local (JBoss)

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi gurus,

Quick question regarding the local and remote interface in EJB?

I am working on an application where we are using EJB's. We generate the necessary interfaces using XDoclet.

We annotated the EJB view-type as "remote" in the class level (Class level annotation will apply to all the business methods, so all the business methods will be viewed as remote from the client).

My coworkers are arguing that if we did not mention anything in the business method then the JBoss will treat them as "local" by default even though we mention the class level annotation as "remote" or not.

Is it true?...

Please assist.

Thanks,
Kumar
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure, i understood the question right. Whether a local or remote interface has to be used, depends on the client which is doing the lookup. The client can either lookup the local interface or the remote interface.
reply
    Bookmark Topic Watch Topic
  • New Topic