Dear all the
SCJD candidates and the SCJD certificate holder. Here's my progress of my project assignment:
For the DB, I already implemented all the interface provided except for find method which make me a little bit confused about implementing it.
For the networking, I already implemented a server which call the interface in the DB as well as the client which call the interface too. I already create a custom protocol (I chose to use socket).
For direct connection, I already implemented the code which access the database file directly.
The final section is no doubt is the GUI, but I have a little doubt with it.
The interface provided by the DBMain.java (which is implemented by the server and the client in the networking code) doesn't provide methods that can be used directly to fulfill user's criteria. For instance, the interface provide only find method which the return type is int[], but the searching mechanism wants me to present the search method in the JTable.
What should I do ? Do I have to create custom method (and of course adding the custom networking protocol) that didn't defined in the DBMain interface such as the method below ?
Or maybe you have another suggestions?
Thanks for your help.
Jeffry Kristianto Yanuar
SCJP 5.0
SCJA SCJD (Working on UrlyBird 1.3.2)