Popular frameworks and new technologies

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.