• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

EJB JVM and Servlet JVM

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ?
 
Avianu Sud
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic