3-Tier JDBC Using RMI Example Source Codes
This example has 3 major java codes listed below:
- DBC.javacontains the interface to the remote object.
- DBCApplet.java contains the client java
code. it is an applet can be run in the browsers (e.g., Netscape,
MS Internet Explorer, Sun appletviewer, etc.) This code will try to
access the method defined in the remote object on the server.
- DBCImpl.java contains the Java code
to provide methods to remote client for accessing the database.
- myDatabase.java contains the JDBC
code using Weblogic JDBC driver.
Other Useful Sources
- personcreate.sqlcontains a simple SQL to create the
database.
- README explains how to compile
all related java
codes, and run this 3-tier JDBC example.
Material
References
This page is maintained by Chao-Wei Ou