aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 231
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: 36590
    
  16
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: serialization in java
 
Similar Threads
JVM plays any role on serilization of Java Object ?
Serializable doubt
SessionBean method returning POJO == exception?
Why serialization?
Object & Serializable