1. Talk about your understanding of struts.
Struts is a framework of the Web layer designed by MVC pattern, which is essentially a servlet, called Actionservlet or its subclasses, We can hand over all requests conforming to a feature in Web. XML to this servlet processing, and the servlet assigns each request to a different action handler in reference to a configuration file (Struts-config)
Actionservlet the request parameters are encapsulated into a Formbean object according to the configuration file (Struts-config) before handing the request to the action
Actionservlet calls Formbean's Validate method checksum before passing the Formbean object to the action's Execute method
When the action is finished, the display layer is returned, and the result layer is represented by a Actionforward object. The Actionforward object is associated to a JSP page through the Struts-config.xml configuration file because the logical name of the JSP page is stored in the Jstruts-config, so the Action program code and the JSP page can be decoupled
2. Talk about your understanding of hibernate.
Hibernate is a popular ORM framework that eliminates the large amount of redundant code used by JDBC for data manipulation, saves data to a database with just one save (), and a Get () method to load an object from a database
Hibernate basic Process: Configure configuration objects, generate Sessionfactory, create session objects, start transactions, complete crud operations, commit transactions, close session
When using hibernate, configure the Hibernate.cfg.xml file first
When applying hibernate, it is important to understand hibernate caching mechanism, delay loading and HQL query.
3. Talk about your understanding of spring
IOC control inversion, decoupling, transferring the created object to the factory
AOP-oriented tangent programming
Popular frameworks and new technologies