This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes Reference/Book for stuff like class loaders etc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reference/Book for stuff like class loaders etc" Watch "Reference/Book for stuff like class loaders etc" New topic
Author

Reference/Book for stuff like class loaders etc

VarunKumar Mallisetty
Ranch Hand

Joined: Jun 18, 2006
Posts: 31
What is the best way to understand things like class loaders and the internals of java compilation process.Is there a good book for that?Can anyone suggest some reference material for related stuff.

For example, i came to know that when a enum is changed(perhaps some enum constants are added/deleted) there is no need to recompile the dependant classes.
But its the not case if i use static final variables declared in another class.If i change any static final variables in this class, i have to recomplie all the other classes that are dependant on this class.
That's fine.
But what i want to know is why it happens like..what happens in former case and the later case.Not for this particular case but i gave this an example.
I want some book/reference which can guide me to understand these sort of things.


SCJP 6.0
Jenna Thomas
Greenhorn

Joined: Oct 03, 2005
Posts: 27
The Java Language Spec should be a good start


Cheers!
Jenn SCJP1.5
Vinay Raj
Ranch Hand

Joined: Jun 19, 2006
Posts: 81
The Java Language spec is definitely a good guide, but in case you want a book try "Inside the Java Virtual Machine" by Bill Venners. The only problem is that the book is dated 2000, so it will not cover the new features but will definitely help you achieve a solid understanding of class loading, java compilation and linking process.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

The best I have seen for Classloaders is here http://www.javageeks.com/Papers/ClassForName/index.html

I held off on learning about them until I had to about a few years ago. When I looked, nothing was very good. However, the document you find at that website is outstanding!
VarunKumar Mallisetty
Ranch Hand

Joined: Jun 18, 2006
Posts: 31
Thank you for the replies.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reference/Book for stuff like class loaders etc