aspose file tools
The moose likes Java in General and the fly likes serialization in java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


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

serialization in java

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 215
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: 32830
    
    4
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: 341

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: serialization in java
 
Similar Threads
SessionBean method returning POJO == exception?
Serializable doubt
Object & Serializable
JVM plays any role on serilization of Java Object ?
Why serialization?