GeeCON Prague 2014*
The moose likes Java in General and the fly likes serialization in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "serialization in java" Watch "serialization in java" New topic
Author

serialization in java

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
hi guys

i want to know what are the ways we can serialize a java object in java 1.5 and later

is their any to make an object serializable with out implementing serializable interface

thanks
amir
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39044
    
  23
Question 1: What have you tried? Where have you looked? Start with Serializable. Java serialization.

Question 2: No
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449


Amirtharaj Chinnaraj wrote:
i want to know what are the ways we can serialize a java object in java 1.5 and later

see JDK 5.0 Serialization API

is their any to make an object serializable with out implementing serializable interface

see xstream.


http://muhammadkhojaye.blogspot.com/
Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
By using Java Reflection, but what's the problem with implements serializable interface?
 
GeeCON Prague 2014
 
subject: serialization in java