Java EE Basics: Learning suggestions for spring beginners

Source: Internet
Author: User

2007-05-28 from: java060515

First, the basic knowledge of Java Foundation, object-oriented Foundation and design pattern is essential.

About design Patterns I don't think I need to learn much, but the following three models are essential to learning Spring: Factory mode (including simple factory and abstract factory), strategy mode, Template method mode. If you do not grasp these you can not understand the essence of spring, can only dots copy, this is a terrible thing.

One of the most highly recommended books I have here can be a bit of a surprise: the fourth chapter of expert one on the first Java design and development, which is not just a spring beginner, but a must-read chapter for anyone who makes the development of a developer. Classic.

Two, then you can see some of spring's introductory books

In fact, I have not seen much of the book, I have only seen spring reference, but now that the book seems to be many, and spring reference seems to have some difficulty. Many people on Javaeye suggest Xia Xin's Spring Development guide, which is said to be easy to get started. Another starter book should be spring live or spring in action. I probably glanced around, Spring Live is a book that tells only what to do without saying why, and I don't like it very much (sometimes it's good to refer to it), but some people especially like this kind of book, see their personal hobbies.

Third, research several open source projects with spring

Theory is still to be combined with the actual, so after reading the book is to see the actual project. A lot of people like Appfuse, I think appfuse spend too much stuff, really substantive content is too little. I prefer spring's jpetstore, which is a very complete example, and the basic usage of spring should be mastered after reading it.

Iv. Start the actual project

After all these are complete, I think we should go to the actual project exercise. Of course not everyone has such a chance, at this time can only make a toy project. The exercise of the project is very crucial, in fact everyone is clear, I will not repeat.

V. Continue to study in depth

After the project, the spring of the use and principle of a certain understanding of the time, it is possible to really grasp the essence of spring. The book that is to be read is Rod Johnson's three classic classics, respectively:

Expert one on one Java EE Design and development

Expert one on one Java without EJB

Professional Java Development with Springframework

I will not say the classics of the first two books, and only read them to truly understand spring's design intent and grasp the essence of spring.

The third book is a book that I strongly do not recommend for beginners to read. Inside of the things deep and full, but the principle is not deep enough, it is easy to make beginners confused. But it's a must-read for spring's advanced users (and a pro spring is also said to be good, but I haven't read it). I'll write the book review in a few days.

Of course this phase and the fourth phase is staggered, while reading and doing projects to learn more things.

Vi. analyzing source code, extending spring

Some people think it is not necessary to analyze spring's source code, because it is tiring and does not count for good. But it's a must-have phase to be an advanced user of spring. In the process of learning, we learn not only spring, but more importantly, his design ideas. Anyway, look at the source of cattle is absolutely good. But this is a very tiring process, be prepared to think.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.