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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding JVM" Watch "Regarding JVM" New topic

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

Joined: Mar 22, 2005
Posts: 41124
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
subject: Regarding JVM
Similar Threads
Query on JVM
size for data type boolean
Regarding Exception handling
main() doubts
WA #2 ..... word association