This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Static class loading and dynamic class loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Static class loading and dynamic class loading " Watch "Static class loading and dynamic class loading " New topic
Author

Static class loading and dynamic class loading

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Which is faster and why : static class loading or dynamic class loading.

Which is faster and why : in case of jsp, static include or dynamic include.

I feel in case of dynamic there is a runtime overhead. Is this correct ? Also what does runtime overhead actually mean
jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Dynamic class loading example :
Class.forName (String className); //static method which returns a Class.

When we say a class is "loaded dynamically" what does that mean ? In such cases is an instance of the class created ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Static class loading and dynamic class loading