• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding JVM

 
surya.raaj prakash
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

could you please explain me what is client JVM and sever JVM?we need both in JDK?
 
Embla Tingeling
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic