This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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