You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Stuart Barlow <sb...@peopledoc.com> on 2004/08/24 16:36:01 UTC

Re: Newbie: Using Axis for serializing/deserializing only

use xstream
nice and simple

Oleg Tkachenko wrote:
> Hello!
> 
> I wonder how can I use Axis for doing only serialization of java to XML 
> and back. What I have is only arbitrary (but generated and rather simple 
> ones) java classes. I need a way to serialize objects of those classes 
> to XML and deserialize them back.
> 

-- 
Stuart


Re: Newbie: Using Axis for serializing/deserializing only

Posted by Oleg Tkachenko <ol...@tkachenko.com>.
Stuart Barlow wrote:

> Axis is complete overkill for this job.
> You will increase complexity many times over and get the job done slower.

Well, I sort of aware of that, but I'd like to know exactly how this can 
be done to talk with customers.

> Do you want to use the XML to interact with web services?
Sort of. It's a system for exposing Cobol apps as web services. But for 
this particular task our customers want to be able to:

Cobol record -> Java object -> XML -> their proprietary system
and
their proprietary system -> XML -> Java object -> Cobol record

-- 
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel


Re: Newbie: Using Axis for serializing/deserializing only

Posted by Stuart Barlow <sb...@peopledoc.com>.
Axis is complete overkill for this job.
You will increase complexity many times over and get the job done slower.
Do you want to use the XML to interact with web services?

Oleg Tkachenko wrote:
> Stuart Barlow wrote:
>> use xstream
>> nice and simple
> Thanks for suggestions, but I really need (well, customers want) to use 
> Axis here.

ta,
Stuart


Re: Newbie: Using Axis for serializing/deserializing only

Posted by Oleg Tkachenko <ol...@tkachenko.com>.
Stuart Barlow wrote:

> use xstream
> nice and simple

Thanks for suggestions, but I really need (well, customers want) to use 
Axis here.

-- 
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel