Link Details

Link 413507 thumbnail
User 398735 avatar

By lyndsey
Published: May 15 2010 / 22:47

A quick explanation of the difference between static and dynamic class loading.
  • 14
  • 3
  • 6877
  • 92
User 131436 avatar

sv102431 replied ago:

1 votes Vote down Vote up Reply

Inaccurate article that confuses fundamental class loading issues and "recommended practices". The author is obviously a novice who would profit from a bit of research before posting his limited understanding of concepts.

1. "Classes are statically loaded with Java's "new" operator."
This would imply that static methods could be executed without the class being loaded.

2. "Unlike the static loading, the dynamic loading will decide whether to load the class Car or the class Jeep at runtime based on a properties file and/or other runtime conditions"

Simply confusing. No mention of fully qualified names to identify classes

3. Constant classes or property files are orthogonal with dynamic class loading.

4. No mention of classloaders. For a J2EE blog, that's weak.

User 187417 avatar

sproketboy replied ago:

0 votes Vote down Vote up Reply

Agreed but lyndsey is hot.

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java