Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serialized Input and output 1

Status
Not open for further replies.

simdan42

Programmer
Jul 17, 2002
118
US
I nee a little help. Need to read from an access database and export the data in a table to a serialized text file. I aslo need to import a serialized text file into the Database. I am not fully versed on serialized file IO can anyone give me some pointers on how to proceed?
 
Yeah i tried that but did not see anything helpful.
 
I looked at that site but it does not really apply to what I need to do.
 
Then you need to define your needs more clearly. If you use the term Serialize in Java it means what I pointed you to, nothing else. If that is not what you mean then don’t use the term, instead use the appropriate term for what you are asking about so others will understand you.

>> Need to read from an access database

Use JDBC. See the JDBC tutorials at java.sun.com

>> to a serialized text file.

If you want to write data to a file without Serialization, there are all sorts of stream classes in the java.io package that will write data to disk files.

If your just starting Java programming I suggest using a book that is targeted for beginners. Those books cover fundamental topics such as this. Trying to learn fundamentals using a messaging system like forums will take a very long time in comparison to a decent book.



-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top