To learn a new knowledge cannot be expected to read only one book, or two books can be fully mastered. There needs to be a step-by-step reading process. I recommend the OReilly published Java series books.
Here I just want to add that a lot of people learn Java from the book "Thinking in Java", but I think this book is not for beginners. I think the correct way to use this book should be as a supplementary reading. "Thinking in Java" is not a complete introduction of the entire system of Java, but a jump-style writing method, is a similar tips to the Java Many knowledge points for in-depth analysis and interpretation.
For beginners, it is best to find a book to get started in Java, but more complete and sequential introduction of Java syntax, object-oriented features, core class library and so on, while reading this book, you can sync to see "Thinking in Java", to deepen the understanding of Java and the use of the principle, At the same time you can fully understand the entire system of Java.
For a Java primer, Cai recommends OReilly's "Exploring Java, 2nd Edition" or "Java in a nutshell,2nd Edition (for C + + background)", and I have not read these two books. In fact, I think the electronic industry publishing house "Java 2 programming detailed" or "Java 2 from the introduction to proficient" is very good.
Of all the Java books, the most useful is not O ' Reilly's Java serials, but the most useful is the JDK's documentation! Almost all of the knowledge you want to get in the documentation is all there, the most important part of course is the Java Basic Class Library API documentation, is organized according to package, for each class has a detailed explanation, its inheritance relationship, whether the implementation of an interface, In what situations, it is also possible to find out all of its public properties and methods, the interpretation of each attribute, the purpose of each method, the invocation parameters, the meaning of the parameter, the type of the return value, and the exceptions that the method might throw, and so on. In this way, all the books on Java programming are simply introducing the use of some of the classes contained within a package in documentation, in a more comprehensible language, and in a well-organized way. So same, if you have enough power to learn Java libraries directly through documentation, then basically you don't need to look at other books. In addition, documentation is also a prerequisite for programming manuals, my desktop has three documentation shortcuts, The documentation of the documentation and j2sdkee1.3.1 of the documentation,servlet2.3 of j2sdk1.4.1 are respectively. With this three documentation, no other books are needed.
For Java WEB Programming, the core is to familiarize yourself with the HTTP protocol, which is not related to Java, after familiar with the HTTP protocol, you need to familiarize yourself with the Java implementation of the HTTP protocol class library, that is, the servlet API, so the most important thing is the servlet Api. Of course, for beginners, it's very difficult to learn web programming directly through the Servlet API, and I recommend O ' Reilly's Java Server Pages book to learn about Web programming.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.