wood burning stoves*
The moose likes Beginning Java and the fly likes Difference between client and server VM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Difference between client and server VM" Watch "Difference between client and server VM" New topic

Difference between client and server VM

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

The java VM has two options -client and -server. Does it mean that when I am deploying my code to JBoss, I should make sure that -server option is used ? Is this merely for performance improvements ?


eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
Assuming here that you are referring to HotSpot, then yes, and yes. What you are actually doing is switching to a different VM, the default is the client VM, -server will mean JBoss uses the Server VM which has been designed for long running server apps. Hava a look at http://java.sun.com/products/hotspot/ if you want to know more.
I agree. Here's the link: http://aspose.com/file-tools
subject: Difference between client and server VM
Similar Threads
hot spot VM and normal J2SE VM?
Problem Installing
Java EJB Client Error
Going crazy casting local home interface
Confused about how to test RMI