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 EJB 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 "EJB local interface " Watch "EJB local interface " New topic
Author

EJB local interface

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
EJB local interface specific to the particular EJB container (or) Application server?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Kri,
The local interface is part of the J2EE spec so it is not specific to any particular implementation.


[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
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
My question is local interface implementation in the EJB container or in the Application Server?
Swapan Mazumdar
Ranch Hand

Joined: Jul 23, 2003
Posts: 83
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

Joined: May 26, 2003
Posts: 31079
    
163

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
 
subject: EJB local interface