jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes classloaders in a jvm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "classloaders in a jvm" Watch "classloaders in a jvm" New topic
Author

classloaders in a jvm

siva sankar
Ranch Hand

Joined: Jul 13, 2006
Posts: 68
Hi,

how many classloaders will be there within a jvm.

Thanks & regards,
Siva
Ajay Singh
Ranch Hand

Joined: Dec 13, 2006
Posts: 182
one system loader + many user defined class-loader (if the user has defined any)
Chris Beckey
Ranch Hand

Joined: Jun 09, 2006
Posts: 116

It depends on the JVM, count on one for the core libs, one for the extensions (if any) and one for the user classes. App servers create many more. Run this code to see:
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: classloaders in a jvm
 
It's not a secret anymore!