I went through some Spring and Hibernate tips and did not find a real example in the form of a "tutorial". In reality, I mean (for example):
- Search is used to retrieve the Person object. Then information about the object is displayed. The object field is then changed by the user, and the form is submitted and the object is saved. Most examples search and store in the same method that is identical to the example on the Spring website.
- An object has more than 3 or 4 fields, including fields that would normally not be in the form (for example, createdDate, createdBy, lastModifiedDate, lastModifiedBy).
- The command object is associated with the form. So, we have person.jsp, PersonForm.java and PersonController.java.
Indications of the three examples mentioned above are mentioned.
source
share