wood burning stoves*
The moose likes Bunkhouse Porch and the fly likes Book on Java Internals Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Books » Bunkhouse Porch
Bookmark "Book on Java Internals" Watch "Book on Java Internals" New topic
Author

Book on Java Internals

Vid Srini
Ranch Hand

Joined: Aug 17, 2006
Posts: 35
Can anyone suggest me a good book on Java Internals.

If my explanation is too lengthy,I apologise for that.

1)If I say Iam instanciating an Object
2)or using Collections,I need to know how these are exactly happening inside the JVM.

I need to know more elaborate on that.Can anyone suggest me a good book or link on this.

Regds,
Vidhya
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Well, there are many layers of internals. There's the bytecode your code compiles to; there's the JVM itself as an abstract virtual machine, and how it operates; and then there are the data structures of the actual JVM implementation. As far as I know, no books exist that talk about this third, innermost level for any JVM implementation. The knowledge wouldn't do you much good, anyway. But the second layer is well-documented, and that's what most people concern themselves with when learning about "Java internals." See, for example, the Java Virtual Machine Specification.

Now, that will teach about what instantiating an object means. But as to your second question about Collections: all the Collections classes are written in Java itself, and the source code comes with your JDK download (look for a file "src.zip" in your JDK installation directory). They're all very simple classes and can be read and understood by any intermediate level Java programmer. Give it a try.


[Jess in Action][AskingGoodQuestions]
Vid Srini
Ranch Hand

Joined: Aug 17, 2006
Posts: 35
Thanks Ernest for your info
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Book on Java Internals
 
Similar Threads
free e-book on core AWT and eventqueue internals
suggest me
plz help
Reference/Book for stuff like class loaders etc
C# books