File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB local interface

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB local interface specific to the particular EJB container (or) Application server?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kri,
The local interface is part of the J2EE spec so it is not specific to any particular implementation.
 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is local interface implementation in the EJB container or in the Application Server?
 
Swapan Mazumdar
Ranch Hand
Posts: 83
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Though Application Server and EJB Container are sometimes loosely referred to the same subject, but they are different. EJB Container helps in providing the middleware services like transaction management, security, etc from the application server. I assume that it is quite possible to have more than one ejb container managed by one application server.

I have read and also delieve that EJBObjects are implemented from component interfaces(namely remote / local) and HomeObjects are implemented from home interfaces which are vendor specific codes beacuse each vendor may have their own way of handling middleware services). I think its the container who provides such implementations beacuse application server has to manage bigger sharks including ejb container.
[ February 24, 2005: Message edited by: Swapan Mazumdar ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kri,
I misunderstood the question. Yes, the implementation is provided by the EJB container. Note that the rest of the server still knows about it though. For example, you can call the local interface from a servlet.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic