Foreground connection to database process

Source: Internet
Author: User

Foreground connection to database process

From the foreground to the database, is the need for a process, it is a process so walk down the html--jsp--servlet--oracle/mycle

However, in order to facilitate the development of the Division of labor, will take this step is very thin! To do their own work, and more easily and conveniently developed.

This process can be clearly seen:

1 through the customer to the JSP interface operation, the operation of the data to the servlet, the image of the filter

2 in the servlet, through his steps to invoke the method in the service, so that every step of the proper data of the proper operation

3 The service will complete the preservation and encapsulation of the data.

4 borrowing DAO to operate the database, and then the database will be back to feedback

5 When feedback to the servlet, the information will be sent to a JPS or HTML or other view to feedback to the user information, to tell the user the results of this operation completed

A process is such a step-by-step completion, but each time this troublesome writing code, it will be a lot of work, so there are many frameworks to complete the more cumbersome steps, SSH is one of them!

Foreground connection to database process

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.