Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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.
 
Cristian Cardenas
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a
 
Qintao Zhao
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answers
(1) 1 JVM
(2) Pack your .war and .jar in a .ear file
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I use local interfaces in order to access an EJB from a Web App. if both are in the same server?

Thats the very purpose of Local Interfaces. One does not want to make remote calls for invoking beans that exist in the local machine. So the answer is Yes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic