Hi, You should use RandomAccessFile for accessing the file . JDBC is for connecting to real databases management systems (like Oracle, Postgresql) . See JBDC_Wiki for JDBC API description. Greetings, Liviu
If you are doing the SCJD assignment, to get a better idea of what the project is, I recommend the "SCJD Exam with J2SE5" book. It is a short book, and direct to the point. I am sure it will help you about any topic you have.
The book explains in details how to use the random access objects to access a file, and implements an example database.
The second tool is this forum. As you could see, your first question was asked quicly.
Good look, Marcelo.
SCJP5(93%), SCJD(in progress...), SCEA(not started yet...)
Joined: Jun 22, 2007
This is my code and it is getting to end of file exception . Please help