Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM and Local Interfaces

 
Cristian Cardenas
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cristian Cardenas
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic