File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "manual serialization in java ?" Watch "manual serialization in java ?" New topic

manual serialization in java ?

anchit pancholi
Ranch Hand

Joined: Oct 14, 2010
Posts: 53

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 ?

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

perhaps, xstream .
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 970
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:
subject: manual serialization in java ?
It's not a secret anymore!