axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <>
Subject Re: Castor in Axis2 not efficient?
Date Wed, 21 Mar 2007 20:29:31 GMT
Castor is based on a SAX parser approach to handling XML which isn't 
compatible with the StAX parser basis of Axis2. You can still use it, 
but it requires a conversion that adds a heavy performance penalty.

If you're using Castor binding definitions you should be able to convert 
them to JiBX (which does work well with Axis2) without restructuring 
your code. The same thing might apply for Castor code generated from 
schema, but I haven't looked into this lately.

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting -
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117

Reneta Säll (HF/EBC) wrote:
> Hi all,
> Do anybody know why Castor as a data binding framework in Axis2 is not 
> efficient?
> We are updating our application from Axis1.4 to Axis2. 
> Castor is our primary choice as a data binding. To start using a new 
> one will cost us a lot of
> refactoring.
> Best regards,
> *Reneta Säll*

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message