Link to home
Start Free TrialLog in
Avatar of prabhatia
prabhatiaFlag for India

asked on

JAVA XML SERIALIZATION

Hi,

I wish to serialize various objects like rectangle, circle etc. in an XML file and then de-serialize the same in my software, so that I could edit the same at a later point in time.  
Any help will be highly appreciated.

Kind regards
Avatar of Manikandan Thiagarajan
Manikandan Thiagarajan
Flag of India image

class First implements serializable
Avatar of prabhatia

ASKER

Dear stmani2005, I wish to write an XML file not any flat file.
Please advise...
Same Concept Implements serializable
SOLUTION
Avatar of Manikandan Thiagarajan
Manikandan Thiagarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My Example shows Encoder and Decoder only
The main thing here is Encoder & Decoder & the usage of the same makes ur life easy