• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis vs Castor

 
Jez Nicholson
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a keen user of Castor, but haven't used it with web services work yet. Can anyone tell me the benefits of using Axis as opposed to another marshalling/unmarshalling tool?
 
Rick Bos
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

From what I understand, Axis and Castor play different roles.

Castor is used to marshall/unmarshall java objects and xml files.

Axis provides an easy way to provide Web Services (SOAP) from existing
Java classes.

Axis shields you from the complexities of SOAP such as the message envelope etc.

I hope that helps.
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeremy,

Axis is not a XML-Java binding tool AT ALL, while Castor is.

Axis is a SOAP implementation. It is usefull if you want to develop a web service solution.
Castor XML is a databinding framework, allowing XML <---> Java bindings

Axis and Castor XML can be used together. You can receive-send a SOAP request using Axis and transform into Java Objects with Castor XML
 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think the axis Encoding Subsystem is capable of doing what castor does (Not sure) ... Can anyone throw some light on why one should not use the axis Encoding Subsystem and use castor instead ?

Thanks in advance
Sid
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!