Today, I would like to share with you an online forum system written in java language. At present, the system functions are very comprehensive and will be further improved in the future. The interface of the whole system is beautiful, with complete source code, I hope everyone can like it. Help like and follow. Program together, progress together
development environment
The development language is Java, and the development environment is Eclipse or IDEA. Database used: MySQL.
This project is a Web application development based on MVC's JSP technology, in which
JSP technology is the presentation layer, including EL expression, JSP action, JSTL standard tag technology
Servlet is the control layer technology
JavaBean is the development model layer
Use the MVC design pattern to develop each module
The database uses mysql database
Using Tomcat as a Web server
Firefox browser, 360 browser, Chrome browser, IE browser as the running browser of this program
Main functions of the system
Background of the project
With the development of science and technology and the progress of the times, the Internet has become an indispensable thing in people's lives. Posting comments on the Internet has become a good way for everyone to communicate with each other in life. Every user can write on it. Post information or offer your opinion. It is a highly interactive, rich in content and information service system. Users can obtain various information services, publish information, discuss, chat and so on on the web site. The same is true of college life. In addition to intense study, students also need to communicate with classmates and teachers in life, such as initiating errand requests, going to the movies with classmates, playing basketball, and chatting about the current situation. Views of various major events sent by the campus.
The main function
1 Ordinary users can express opinions
2 Ordinary users reply and comment on other people's opinions
3 Posts and replies published by yourself can be deleted by yourself
4 Forum administrators can delete all posts and comments under the forum
5 System administrators can delete anyone's posts and comments
6 The system administrator can add, delete and modify registered users
7 The system administrator can also maintain the system
performance requirements
(1) It can support more than 100 users to visit at the same time, and each operation of the user can return the result within 1s.
(2) In terms of humanization, the system will have an obvious prompt when the response is successful or failed.
(3) Frequent connection and release of the database, the database is a bottleneck of the system application. Consider using a database connection pool to reduce the pressure on the database.
(4) Provide flexible and convenient permission setting function, so that the management division of the whole system is clear.
(5) It is easy to maintain and operate.
(6) Cross-platform: the system can run on Windows, Linux, Unix and other operating systems. After the operating system changes, the program can run normally without modification.
(7) Recoverability: After the system fails, it can return to the normal state in a relatively short period of time without causing user complaints.
system structure
modular design
achieve effect
1 user login
Access the login page in the browser http://localhost:8080/bbs
2 Registration interface
The user enters the user name, password, confirmation password, address, and phone number to complete the registration of the system
3 plate browse
Users can select the posts of the section they want to browse and post comments on demand
4 Post and comment
5 background management
After the administrator logs in in the background, you can add, delete, and check users, add, delete, and modify areas, and add, delete, and modify sections.