aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB JVM and Servlet JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB JVM and Servlet JVM" Watch "EJB JVM and Servlet JVM" New topic
Author

EJB JVM and Servlet JVM

Avianu Sud
Ranch Hand

Joined: Jan 20, 2002
Posts: 55
Hello,
I have a question about using JVM for J2EE container and Servlet container.

In Weblogic 8.1 can we use different JVM for servlet classes and different JVM for EJB container (using the same Weblogic instance).

Is there a advanage to use different JVM versus the same?

What is the performance impact of using different VM's

Additionally, is it possible to BIND a weblogic instance to a specific VM?

Thanks in Advance.

- Avi
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Read this article on advantages of multiple weblogic instances
http://dev2dev.bea.com/pub/a/2003/10/Heublein.html?page=last

In Weblogic 8.1 can we use different JVM for servlet classes and different JVM for EJB container (using the same Weblogic instance).


No. You cannot have multiple JVM processes per server instance.

Additionally, is it possible to BIND a weblogic instance to a specific VM?

Each instance would be running in one JVM. Where does the question of binding come ?


Groovy
Avianu Sud
Ranch Hand

Joined: Jan 20, 2002
Posts: 55
Now, I can have a different VM for every weblogic installation on the same machine,right?

Each VM can have a max 4G memory space and give high resource usage.

Can we bind a VM into using a particular CPU(or more than one?)

Are there any articles discussion confiuration of JVM's and usage of CPU/memory resoruces.

Once motivation for different VM's for Servlet engine, and EJB, is to give separate VM resources to both. Are there any downsides to this? I can see transfer object's overheads.

Thanks.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Originally posted by Avianu Sud:
Now, I can have a different VM for every weblogic installation on the same machine,right?

Each VM can have a max 4G memory space and give high resource usage.

Can we bind a VM into using a particular CPU(or more than one?)

Are there any articles discussion confiuration of JVM's and usage of CPU/memory resoruces.

Once motivation for different VM's for Servlet engine, and EJB, is to give separate VM resources to both. Are there any downsides to this? I can see transfer object's overheads.

Thanks.


It is possible to run more than one instance on a single physical server. Read Weblogic Performance tuning guide for more help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB JVM and Servlet JVM
 
Similar Threads
JVM and Local Interfaces
Is it possible that servlet uses local interface of EJB2.0?
Local Home / Remote Interface in a clustered environment
Web Container
Local vs. Remote Interface