Is there a source for real examples of Spring and Hibernate?

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.

+4
source share
1 answer

One example of a good example using technologies that interest you (and this is not a toy app) is petclinic .

A real-world site equipped with the latest Java and Spring technology, spring.io ! Check out the github repository here . A number of blog posts about developing this site can be found here.

+5
source

Source: https://habr.com/ru/post/1537410/


All Articles