In fact, there are no Four Books and Five Classics in J2EE, because J2EE has been surging, innovating, and developing rapidly. This is a technology that leads us to the future. Of course, how to avoid getting lost in this kind of trend like a rainbow requires guidance from the relevant book. This article will introduce J2EE books from two aspects: thread and mode. These two aspects are exactly two different directions, starting with the micro-and underlying mechanisms of threads; the mode looks at J2EE from the design perspective.
Thread)
First of all, thread is a basic knowledge that many J2EE beginners can easily ignore. It can be said that no matter which door you enter J2EE from the Java world, the thread is a necessary path.
I can't remember where I saw the following English section:
In the past, only brave programmers were brave enough to use pthread and Win32 threads. Modern languages such as Java are trying to save us by writing some frightening applications such as parallel computing.
The Servlet and EJB of J2EE ensure that we do not have to worry about thread and synchronization issues. As long as we program as usual, containers will automatically use technologies such as thread pools to support our applications.
It can be seen that threads are the most basic underlying mechanism of J2EE. Each Servlet/Jsp program is actually a thread program. If you do not understand the principles of threads/multithreading, how can we master J2EE Servlet/Jsp well?
He has a lot of authority in thread computing, and Dou Lee is undoubtedly an outstanding representative in this regard. His parallel computing package has been added to the latest JDK1.5 version, and his books are of the Foundation, however, such books may not be suitable for beginners who only want to understand the thread.
Java Thread Programming)
This is my first book on J2EE. In this book, the author uses simple examples to explain from a single Thread to multiple threads and Thread pools in an easy-to-understand manner), Concurrent Access to Objects and Variables (Concurrent Access to Objects and Variables), which are common issues in Servlet/Jsp programming. In this case, the author clearly and clearly shows us these details and has important technologies. At the same time, it also gave us a deep understanding that the direct compilation of multi-threaded applications is a "frightening" thing.
Interestingly, I also found a post with the same opinion as I did in an online bookstore community, saying that this book is "a book that makes classics a thing of the past"
Design Mode
The thread world is as complex and almost borderless as the microbial world. If programmers are too persistent in the microscopic aspects of such pure technology, they may waste too much valuable time and energy, after mastering the multithreading mechanism, you need to pay more attention to the design and application of J2EE.
J2EE is a unique framework or standard in the Java World. Therefore, we first need to master Java-based design applications. These design application skills are the experiences learned by the pioneers after long-term practice, they call it a design pattern. In J2EE applications, only when a large number of design patterns are used can the highest purpose of separation and decoupling be reflected, so that the J2EE system can have a clear context and a clear hierarchy, such a system is truly scalable, robust, and easy to maintain.
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.