1. Write a class that is highly reusable: generics, reflection
2. Build SPRING+JPA (Hibernate) First and then build struts
3. Integrate SPRING+JPA (Hibernate) First: The jar files of the two frameworks are brought in
The selection of the context path for the new project: Select the context path because you want to implement a tomcat to deploy multiple applications, for testing purposes, a large company will not do so
Processing path:/xxx.do
<form action= "/context path/xxx.do"/>
So generally is the time to build a project does not choose a good context path, in <form action= "/xxx.do"/>, There is no context path, more convenient;
4. A large repetition of code additions and deletions the check is encapsulated: generic T can also be w,serializable (Entity ID must be serialized), and reflection is encapsulated
5.spring will only apply a notification of things to methods defined in this class (advice)
6. Paging repetition is also very large: the paging is also encapsulated;
Shopping website Learning Note 3