5. Appendices
The complete code for this example is listed here. We've split
the processing into two separate classes (one for Admin database administration
and one for the janitor role, called Caretaker). These classes are
presented separately, but in a complete application, they should be
integrated into the same application.
1
import java.sql.Connection;
2
import java.sql.DriverManager;
3
import java.sql.ResultSet;
4
import java.sql.SQLException;
5
import java.sql.Statement;
...
You do not have access to this resource.
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed?
Log in!
Ongoing reading
Appendices