Today, I have entered the end of the project, and I am busy for a month. From the construction of the working environment, then familiar with business processes, work plan, progress control, etc., to today's functional management system has appeared in front of me, feeling a sense of accomplishment. Think about it, starting with Struts only staying in books in books, that is, it can look clear, but after this month, the moon is also entitled, and it is also known how the Struts project is developed. I remember that the first day of work plan is this: first develop database value object (VO) - Database Access Object (DAO) -DAO Test case - Business Logic Object (BO) -bo test case-JSP page - activityform-action . Probably this kind of process, now I have said how at all phases are carried out. (1) VO object: From the whole, feelings and formbeans are very similar, can be said to be the same, but it is different. It is also some attributes in Vo and their setter, getter method, and other things do not need; an VO corresponds to a database table, each attribute is a field, mainly corresponding to the data type, actually worth noting Time Types (Date) in the database, this is also a problem that I feel more headaches in this small project. (2) DAO object: The data access object is completed, and some basic data increased deletions. In this project, the DAO we wrote inherited from an accumulated BasicDao, wrote a few virtual interfaces, providing the function of the query. This place should be paying attention to a thread security problem, and it is necessary to ensure that each DAO can only have an instance, so the single child mode is used. (3) BO object: I feel that the BO object is only packaged in some interfaces of the DAO layer, providing it to the action call, such as Update, Delete, etc. There is no charm of the BO layer. (4) JUINT TEST test case: This thing is still interesting. It is about to understand, and each test case must be inherited from junit.framework.testcase, the main method is setup (), Teardown (), TestXxx (). (5) Actionform and Action: It is still very convenient to use JBUILDER to automatically generate ActionForm through the JSP page and then generate an action. Through this project, you still have learned a lot, such as the configuration of Struts-Config, the configuration of international resources, and so on.