JSP-based music website (source code + database + information)

Preface

Purpose of the project To
design a music website in response to customer needs, requiring registered users to enjoy songs online and download them at the same time. Non-registered users (tourists) can only browse the song list.
A guestbook should be attached to the music website so that members can feedback information to the administrator.
At the same time, the website must have a management background, the administrator can update songs in the background, and manage the guestbook.
The server side of the website should be safe and can be used across platforms

Project analysis
Because the website needs to interact with users, traditional HTML can no longer meet the needs. Because of the need to cross-platform, consider the following solutions
● CGI (Common Gateway Interface)
● PHP (Hypertext Preprocessor)
● Java

Solution selection
● Although CGI (Common Gateway Interface) is a widely used dynamic web application and server-side solution, although platform-independent PERL is used to write the server-side, it can be seen from the figure below that CGI has fatal weaknesses . Whenever a CGI request is received, the Web server will establish a new process. Will result in slower response time. If the server process space reaches its limit, it will no longer be able to process client requests. Although PERL is unique in processing text, it requires the server to start a new interpreter for each request, which consumes a lot of system resources.
Insert picture description here
Insert picture description here
There are six use cases in the member package
● Login
● Browse the music list
● Download the music
● Leave a message
● Play the music
● Exit

Example Login

Use case description
Visitors log on to this website

Assumptions The
tourist attempts to log on to this website to do something

Preconditions
already have an account (of course, malicious behavior is not excluded)

Post-conditions
◆ successful
login ◆ failed login

Step sequence
◆ Open the login form
◆ Fill in the account password
◆ Submit

Guess you like

Origin blog.csdn.net/qq_43708988/article/details/108160954