Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41034
    
  43
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Regarding JVM
 
Similar Threads
Regarding Exception handling
main() doubts
WA #2 ..... word association
size for data type boolean
Query on JVM