File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Doubt regarding the usage of local interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Doubt regarding the usage of local interface" Watch "Doubt regarding the usage of local interface" New topic
Author

Doubt regarding the usage of local interface

vijaya raj
Greenhorn

Joined: Dec 26, 2010
Posts: 7
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..
Pawan Kr Gupta
Greenhorn

Joined: Nov 21, 2010
Posts: 26
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

Joined: Dec 26, 2010
Posts: 7
Thanks Pawan. Then what might be the reason in my case..??
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
vijaya raj
Greenhorn

Joined: Dec 26, 2010
Posts: 7
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt regarding the usage of local interface
 
Similar Threads
What is difference between Websphere Application Server and Webshere ESB ?
local interface
Deploye Enterprise application in Server
Error while using lookup
J2ME server