CSC343 Connecting Java to Database