University scientific research management system based on JavaGUI+SqlServer

Contents
1. Overview 1
1.1 Background of the topic 1
1.2 Design tasks and requirements 1
1.3 Development environment and tools 2
2. Requirements analysis 2
2.1 User needs analysis 3
2.2 Functional requirements analysis 3
3. Database design 4
So configure the path in the system environment to This driver has been configured 5
4. System implementation 15
5. Acceptance and improvement 35
Appendix (source code) 38
CardEmploy.java 38
DbProcess.java 40
scoer.java 61

I. Overview

1.1 Background of the topic
The basic functional requirements of the scientific research management system of a university are:
(1) Realize the management of basic information such as departments, positions, and professional titles;
(2) Realize the management of teacher information;
(3) Realize the application and approval management of scientific research projects;
(4) Realize the acceptance management of scientific research projects;
(5) Create a default and bind it to the acceptance mark of the scientific research project so that its default value is "not accepted";
(6) Create a trigger to automatically modify the project's The acceptance mark is "acceptance passed";
(7) Create a stored process to count the number of applications and completions of scientific research projects in each department; (8) It has data backup and data recovery functions.
1.2 Design tasks and requirements
① Collect and investigate relevant materials and the latest technical information through research and use of the Internet.
②Understand and master the requirements analysis process and basic methods of database systems
③Basically master the basic steps and writing methods of writing design reports.
④Basically understand and master the design methods of ER diagrams and the conversion of relationship patterns according to the requirements of the subject.
⑤ Generate database tables based on the ER diagram and carry out logical design of the database.
⑥Measures to ensure database integrity and security.
⑦Physical design of database.
⑧ Implement database maintenance plan.
⑨ Design and implementation of application systems.
1.3 Development environment and tools
Database platform: MS SQL Server Development platform: J2EE Eclipse
Software architecture: C/S

package Miao;

import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.sql.*;

public class Main {
    
    

public ResultSet rs;//test
	
public static void main(String[] args) {
    
    
	
      String JDriver = "com.microsoft.sqlserver.jdbc.SQLServerDriver";// SQL数据库引擎
      String connectDB = "jdbc:sqlserver://127.0.0.1:1433;DatabaseName=test";// 数据源 DatabaseName是已经创建的数据库的名字 不是表的名字
      
      try {
    
    
          Class.forName(JDriver);// 加载数据库引擎,返回给定字符串名的类
      } catch (ClassNotFoundException e) {
    
    
          // e.printStackTrace();
          System.out.println("加载数据库引擎失败");
          System.exit(0);
      }
      
      System.out.println("数据库驱动成功");
      
      Login login = new Login();
      
  }
}

Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/newlw/article/details/133294799