• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt regarding the usage of local interface

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Respected members,
If i am correct, i have understood that enterprise application modules deployed in the same server can communicate using local interfaces.
I was creating an enterprise application in NetBeans 6.9. It permits to use local interface only if the client belongs to the same application. I was using a servlet created in a different application to communicate with the bean which was created in a different application. Ofcourse both these applications are in the same server.
Is my understanding wrong or is it something to do with netbeans??? Please correct me if i am wrong.

This is my first post here..
It feels great to be in this vast and profound community.

Happy NewYear to All..
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Vajaya

You are absolutely right.If your EJBS and webapplication are both on the same server then one should use Local interface.
 
vijaya raj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Pawan. Then what might be the reason in my case..??
 
author & internet detective
Posts: 41855
904
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some applications servers confused things by overloading the word server to mean different things. One definition is the server software install. Another is a server that goes with your ear. NetBeans is picking up on the fact that the applications are being run in different ears.
 
vijaya raj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Some applications servers confused things by overloading the word server to mean different things. One definition is the server software install. Another is a server that goes with your ear. NetBeans is picking up on the fact that the applications are being run in different ears.



Well then that shud be the solution to my problem. But concept wise, since both the modules are in the same jvm instance, local interface shud have been allowed. Right?
 
reply
    Bookmark Topic Watch Topic
  • New Topic