• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Axis vs Castor

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 188
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic