Description: user management system
The system level:
Common- > Get the Connection
- > the UserInfo (id, name, pass, email, power)
DAO- > userDAO (register, delete, query and other functions)
Service- > userService (called methods in the DAO)
The VIEW- > common user interface, the administrator interface, the user interface
Database tables: the userinfo
Sequence: seq_user
The create table the userinfo
(
Id number (10) primary key,
The name varchar (20) not null,
Pass a varchar (20) not null,
Email varchar (50),
Power varchar (20) default ordinary users
)
The create sequence seq_user
Start with 1
Increment by 1
Maxvalue 100000
nocycle
Nocache
To obtain the keyboard:
Scanner input new Scanner (System. In)
String name input. Next ()
To Search:
File list (Check if you may need any files):
UserManSys\.classpath
..........\.project
..........\bin\com\hp\common\ConnectionGet.class
..........\...\...\..\......\UserInfo.class
..........\...\...\..\dao\UserDao.class
..........\...\...\..\service\UserService.class
..........\...\...\..\view\AdminView.class
..........\hs_err_pid844.log
..........\lib\classes12.jar
..........\src\com\hp\common\ConnectionGet.java
..........\...\...\..\......\UserInfo.java
..........\...\...\..\dao\UserDao.java
..........\...\...\..\service\UserService.java
..........\...\...\..\view\AdminView.java
..........\bin\com\hp\common
..........\...\...\..\dao
..........\...\...\..\service
..........\...\...\..\view
..........\src\com\hp\common
..........\...\...\..\dao
..........\...\...\..\service
..........\...\...\..\view
..........\bin\com\hp
..........\src\com\hp
..........\bin\com
..........\src\com
..........\bin
..........\lib
..........\src
UserManSys
..........\说明.txt