Talking about how new users practice J2EE and learn SSH

Source: Internet
Author: User

There are two emails, one from a netizen.Adamed One is my reply. I am talking about how beginners learn J2EE and SSH and get the permission of adamed. Here I will share with you, and more friends will be welcomed. Subject:Ask easyjf team!

Hello, I am a working software developer. I started Java Development in. I joined a company in Beijing in. My job is for J2EE development. The company uses the SSH architecture (Struts-spring-hibernate) for development. Although I have been in the company for half a year, I have only worked on a STRUTS + hibernate project for project reasons. Now I have read many books about ssh. I also read some code, that is, I feel that it is too slow to improve myself. On the csdn blog, I accidentally saw that the blog of Daxia knew easyjf. I admire your courage and dare to start a Chinese open-source project. It takes too short time to contact J2EE. Currently, such open-source projects have many names. After reading some source code of spring, I feel dizzy. I really don't know how to improve myself. So I am afraid to write this email to easyjf's friends. Could you please give me some suggestions ?? (Because the company uses SSH for development. So it's not enough to read these things .) I would like to give you some suggestions on how to learn. PS: After Reading easyjf introduction, I really want to participate. Unfortunately, my skills are limited. Fear of rejection. I want to improve my skills and work hard for Chinese originality. But I also know that technology cannot be impetuous. Therefore, please help.

Adamed 2007-01-09

Below is my reply:

Hello, thank you for your interest in easyjf and support for open source in China. The domestic environment is generally impetuous because there are too many people like spring fans, we do not dare to express our thoughts, so we hope to continue to provide more support to open-source Chinese people in the future. As for the questions you mentioned in your letter, I think it may be the reason why you have not mastered the basics of Java. Simply put, the internal force is not enough. It is like the internal force of martial arts practitioners in Traditional Chinese martial arts novels. If there is no foundation for the internal work, it can only fall into the palm of a snake, even snakes cannot fall. The martial arts of the little monk in fuzhu is also made so cool by having a deep internal force. I think the internal force of practicing J2EE martial arts is roughly divided into three layers. The primary layer is the Java Foundation, and the second layer is the OO idea and model, the third level is the study of specialized knowledge in specific fields (such as web development-related technical specifications, Servlet specifications, JPA specifications, and ejb3 specifications. With these internal forces, whether it is SSH or easyjf, it will be very easy to use. SSH is a framework, tool, and middleware. They are used to improve our development efficiency, improve the maintainability, scalability and even agility of our software products. They have excellent design concepts and application models. For example, Struts belongs to the MVC framework. The key is to understand the concept and general principle of MVC, which makes it easy to master. hibernate belongs to the ORM system and is a persistent layer solution, you also need to have a general understanding of the concept and principle of ORM. If necessary, you can check the use of entity beans for the persistent layer in ejb1 and ejb2. Spring belongs to the application framework, and its core is the IOC container and AOP. After learning these two core concepts (also known as the Big model), we can add some internal force to fix them, it's not hard for others. Spring also integrates a lot of useful things (however, 80% of these things may never be used in a project ), for example, JDBC encapsulation, MVC, and concise access to dynamic languages. You can choose to learn these items based on your project situation. When using them, you can look at their documents, A project should be able to grasp. After talking so much, I am tired, and you must be a little dizzy. I will give you some suggestions based on your situation: 1. It takes one year to gradually increase your internal force. During this period, you can use the following methods to synchronize and learn how to use SSH. 2. Read some original domestic books and run relevant code, such as Sun weiqin's struts and hibernate tutorials and Luo shifei's spring tutorials. Their books are easy to understand. Many of them are some of their learning records, so they must be very understandable. Do not read Rod's J2EE without EJB, spring development team's Spring framework advanced programming, or even spring in action! For many reasons, you will be dizzy when reading these books. 3. Download some original examples of SSH application source code from ghost. There are many such foreign countries, you can also look at more. 4. Run the example Examples attached to these frameworks, understand the design principles, and make simple modifications. 5. Run and read the test code of these frameworks. It is necessary to analyze it as slowly as the trend chart of purchasing lottery tickets. 6. Use more in your project, use a development tool such as eclipse, and master program debugging skills. Finally, let's take a look at the electronic version of deep spring 2: Principles and Practices of Lightweight J2EE development framework, which we recently compiled. We can download two chapters, it is suitable for beginners at http://www.easyjf.com/spring. In addition, I have prepared your letter and reply to you and put it on my blog for you to share our communication. Do you want? I wish you a pleasant learning experience and a smooth job! Easyjf open-source Great Gorge

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.