Web Learning notes () and learning notes
-> Dao layer considerations: use the "light" query whenever possible to meet the requirements, and use as little time memory and other resources as possible
-> The entity class does not contain any business logic. It is pure POJO.
-> The equals and hashCode of the object class only depend on the business key and do not depend on the id in the database.
-> RESTful provides special classes for request and response, which are also POJO. These classes should be flat as much as possible, that is, do not nest them as much as possible, so that they are friendly to CSV serialization.
-> All the details of requests and response beans are part of contract. It is best to have a special document and write the JSON structure into java doc.
-> Spring special configuration class> directly add annotation to the top of the implementation class
-> Method parameter injection in the Spring configuration class> parameter injection of the static factory method> constructor injection of the specific implementation class> direct field injection
-> Static factory methods are still one of the best practices even if Spring is prevalent.
Web notebook
There is a RMB 2580 in the first four steps.
Who has good JAVA study notes?
It is recommended that you first learn javaSE to pass the basic learning, and then learn Servlet and mvc. Then I learned about jsp. Now I want to learn about Struts, Hibernate, Spring, and ibatis frameworks. I also need to know the most basic SQL commands. As for javaME, I don't think it is necessary if you want to do mobile development. Then you have school ME,
1. First, you must learn the basic knowledge of java.
Do not be confused by new technologies. The old technologies are based on java. If the new technologies are not well-founded, the new technologies cannot be understood.
2. Create a java Project
After learning the basic knowledge of java, make a java project to consolidate it. In the project, you will find many problems. By solving the problems, you will learn more about the basic knowledge.
3. Learn basic database knowledge and develop applications
Software development cannot leave the database, master several popular databases: Oracle, SQL server, MySQL, etc.
4. JEE Basics
First, you need to learn the website basics, including HTML, DHTML, and JavaScript. Then you need to learn XML, XML, and JAXP. Then, you need to learn the basics of JEE, including the JEE development environment, RMI/IIOP, and JNDI; finally, I learned how to develop JDBC databases.
5. web Development
Comprehensive JEE web development knowledge: Servlet + JSP + javaBean + TagLib. Here we will develop a complete web application project.