• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Do you recommend reading Java language specification ?

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks

This was very helpfull
 
It's a tiny ad only because the water is so cold.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic