jQuery in Action, 3rd edition
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 Customer Requirements for Developers this week in the Jobs Discussion 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: 776

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
It's not a secret anymore!