Database Server
In
this chapter and the two that follow, we will write a small database
application. This chapter uses Java Database Connectivity (JDBC) and
RMI to create a database server that stores information about students.
The source code needed for this application is stored in the examples\Project
directory. The "Project" directory
contains the following files:
- ButtonPanel.java
- DatabaseInterface.java
- DatabaseServerImpl.java
- MDI.java
- Student.java
- StudentForm.java
- SwingComp.java
- database.mdb
- Compile.bat
- Rmicompile.bat
- RunServer.bat
- RunClient.bat
Files needed for this chapter are:
- DatabaseInterface.java (Remote interface)
- DatabaseServerImpl.java (Server implementation)
Construction
Zone 
Now put your brain in gear and try to concentrate on this
application.
|