writing Java Objects to a file

Hi,

I had been using files and Java IO API for a time but in my new implementation I want to write few Java objects in to a file and fetch them as "same objects" in to a datastructure (such as an array or map) when I start my application again.

I was wondering if there is any mechanism that I can directly write an object "altogether" and read them as same objects but not as bytes and use it in my application? Any suggestions would be quite helpful :) Thanks in advance.

//NisE

[506 byte] By [munnadeea] at [2007-11-27 10:05:10]
# 1
Serialization is the word you're looking for: http://www.deitel.com/articles/java_tutorials/20050923/IntroductionToObjectSerialization.html
prometheuzza at 2007-7-13 0:40:10 > top of Java-index,Core,Core APIs...