aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes JVM and Local Interfaces 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 "JVM and Local Interfaces" Watch "JVM and Local Interfaces" New topic
Author

JVM and Local Interfaces

Cristian Cardenas
Ranch Hand

Joined: Jan 29, 2002
Posts: 50
I'm using Weblogic 6.1 and I wonder if Weblogic runs the servlet container and the ejb container in separate JVMs.
Another question is: Can I use local interfaces in order to access an EJB from a Web App. if both are in the same server?
Thanks in advance.
Cristian.
[ June 27, 2002: Message edited by: Cristian Cardenas ]
Karl Laird
Ranch Hand

Joined: Jul 14, 2001
Posts: 67
The main determination as to whether you can use the local interface is whether they are in the same deployment context - which is narrower than the same server.
Basically local interfaces can only really be used by other objects that are co-located in the same jar / war - they must be in the same deployment descriptor.


The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="http://www.orderware.net" target="_blank" rel="nofollow">http://www.orderware.net</a>
Cristian Cardenas
Ranch Hand

Joined: Jan 29, 2002
Posts: 50
If I put the webapp and the ejb-jar in an ear, will i be able to use local interfaces from the webapp?
Thanks very much Karl
Cristian
Cristian Cardenas
Ranch Hand

Joined: Jan 29, 2002
Posts: 50
a
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM and Local Interfaces