File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes manual 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 "manual serialization in java ?" Watch "manual serialization in java ?" New topic
Author

manual serialization in java ?

anchit pancholi
Ranch Hand

Joined: Oct 14, 2010
Posts: 53
Hi,

if i don't want to implement Serializable interface then is there any way i can serialize object ?
how can we manual serialize the object ?

Thanks
Anchit
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

perhaps, xstream .
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 867
    
    5
anchit pancholi wrote:
how can we manual serialize the object ?


What do exactly mean by "serialize the object" ?

In the stricter (technical) sense, serialization is the given mechanism built into Java which is "triggered" for a class by its implementing the marker interface Serializable.

If you mean something different (in the broader sense), you have to write it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: manual serialization in java ?