aspose file tools*
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
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 ?
 
Don't get me started about those stupid light bulbs.
 
subject: Static class loading and dynamic class loading