Start from User Login

Source: Internet
Author: User
Tags call back

First, let's take a look at our needs and see if there are any points of interest in your needs:


User login: To realize the user entered the correct user name, password and verification code from the Web login interface, then jump to a page to display the successful landing
Requirements:
1. Create user tables in database, table field username (user name), password (password, MD5 encrypted storage)


2. Working with database data using hibernate


3. The entire application from the architecture of the front-end server and the back-end server, the user can directly access the front-end server, the front-end server through RMI call back-end server, user data only through the RMI interface provided by the backend server to get


4. The backend server uses a three-tier architecture, DAO (Data Access Layer), service (business logic layer), facade (interface layer), call relationship facade call service, service call DAO


5. Front-end server provides user login authentication interface in HTTP (using Spring mvc-and annotated) to the foreground page call


Add database transaction control on the 6.service layer


A method call record (record call time and specific parameter values) is added to the 7.service layer and written to the log file


8. Foreground page and background interactive data format using JSON


(not finished)

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Start from User Login

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.