Joke Collection Website - Public benefit messages - How does java Web record the modification history?

How does java Web record the modification history?

I know whether you use the Spring framework or not. If you use the Spring framework, it can be easily implemented through aop.

First, we must design a history table, including operating users, behavior types and contents.

For some dao operations, we can program the section, because the input is a class, so we can directly change the class into a historical instance and store it in the database.

You can design an interface to manage and query the history table.