File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about data files!!

 
haoran lin
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys!
I have download my assignment(Version 2.2.2 . what different with 2.3.2?)
but I am confused now!
there is a file of ".db" form,is it the database that sun called?
and how am i use to that? and must i not use the JDBC?
 
Paul Bourdeaux
Ranch Hand
Posts: 783
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot use JDBC. There should be a "must not" clause in your instructions somewhere regarding JDBC. It wouldn't work anyway, as the .db file is a flat data file instead of a true database file that you must write the data access code for. Your instructions will outline the data file schema, and you can work from there.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Haoran,

The instructions you received should include a section title "Data file Format". This tells you the layout of the records in the provided data file.

You need to create a class (or classes) that can read this file. You should have been provided with an interface (in the "Server" section of your instructions) that will tell you what methods you must write to access the data file.

Does that give you an idea of how to start?

Regards, Andrew
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic