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