aspose file tools*
The moose likes Beginning Java and the fly likes Regarding JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding JVM" Watch "Regarding JVM" New topic
Author

Regarding JVM

surya.raaj prakash
Ranch Hand

Joined: Oct 30, 2009
Posts: 76
Hi Friends,

could you please explain me what is client JVM and sever JVM?we need both in JDK?
Embla Tingeling
Ranch Hand

Joined: Oct 22, 2009
Posts: 237
surya.raaj prakash wrote:could you please explain me what is client JVM and sever JVM?we need both in JDK?


They're targeted towards different use cases. The client JVM is designed to best handle GUI applications on the desktop and the server JVM is best for server applications.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42591
    
  65
It's not so much whether both are needed, it's that the Sun JVM has both. These days, it's doubtful whether using the -client version still has benefits - the -server JVM has noticeably better performance. For a comparison, see http://www.slideshare.net/javasymposium/kees-jan-koster-presentation, starting at slide 19.

Note that not all JVMs have both; for example, Apple didn't implement the -client JVM.


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: Regarding JVM