Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Static class loading and dynamic class loading

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic