Chapter 14

Database Server

 

 

Universal TeacherIn 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.


 

 

RMI BOOK MAIN PAGE                Top

  
Copyright © 2001 www.universalteacher.com