• Post Reply Bookmark Topic Watch Topic
  • New Topic

Do you recommend reading Java language specification ?  RSS feed

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

1- Do you recommend reading Java language specification ?

2- I have very week knowledge about System Programming, I want to know how java internally works, furthermore ,sometimes I donot understand what is written in javadoc when some system programming involved in the method or class describtion, so please tell me books and/or tutorails to read about System Programming in java, or something sounds like "java from inside to outside"
 
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. You'll probably learn a lot about the details of Java if you read the JLS, but I wouldn't recommend it if you are very new to Java and you just want to learn the concepts. I've never read it completely myself, but occasionally I use it to lookup things.

2. If you want to learn how Java works internally, then you could look at the source code of the standard API which you will find in the file src.zip in your JDK installation directory. It contains the Java part of the sources. If you really want to know everything, you can even get the complete JDK 5.0 source code (see the download page).
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JVM spec is bit boaring but well written and not-that-difficult to understand (compare to fe wother specs I read).

I personally like following sections in the JVM.

#2.17 Execution
This is excellent section, very nicely written. They take a simple "java main" command explain how things are done internally in jvm.

#5(Loading,linking and initializing).
Explains class loaders,vm startup ,class linking etc.,

These two sections helped me understand the internal process in the jvm.

Rest of the sections I read on-demand.Qhen I needed to work on threads, I jumped onto thread section.

Hope this helps.
[ October 24, 2006: Message edited by: Nav Letha ]
 
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IF you really mean that you want to learn the internals at the CPU level, then "Inside the Java Virtual machine" may be what you want. Although the book is several years old the guts of the JVM have not changed that much.

There is also this online JVM material at Sun.
Bill
[ October 24, 2006: Message edited by: William Brogden ]
 
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the question is about the JLS (Java Language Specification) not the JVMS (Java Virtual Machine Specification).

I read the JLS while I was studying for the SCJP and I was completely new to Java. I considered it helped a lot. I took my time with every chapter and to make sure I understanded every rule.

Nevertheless, the spec is full of many rules that will be hard to remember. Today I use it just as a reference book.

Same thing with the JVMS.
 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Edwin Dalorzo:
I think the question is about the JLS (Java Language Specification) not the JVMS (Java Virtual Machine Specification).


Well, the guy asked if he should read the JLS to satisfy his curiosity about the material that is covered in the vmspec; that's why the vmspec is being recommended to him.
 
Costa lamona
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks

This was very helpfull
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!