On Wed, Apr 22, 2009 at 3:29 PM, Li, Zhenge <[email protected]> wrote:
> Hi Sudhir,
>
>
>
> I ran into below links a while ago.
>
>
>
> Some charts in:
>
> http://wso2.org/library/588
>
>
>
> Comments by Mark D. Hansen, Author of "SOA Using Java Web Services".
>
> http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=51&t=004657
>
>
>
> -richard
>

Both links are helpful but I think missing the benefits of each, plus
a few options are missing. My rough rule of thumb for my projects are:

1) If you have been given a WSDL to use and don't have existing code
to send over the wire - use xmlbeans or jaxb since they have close to
if not complete 100% xml schema spec support. Some frameworks like
JIBX are improving but not at 100% yet. I prefer xmlbeans because it
has a validate() method for it Objects, which is great for debugging.
xmlbeans gets a bad rap for being slower than the other options, but
often in my case only negligibly so.

2) If you don't have an WSDL yet and you want to send pre-existing
objects - like hibernate BO's for example - the JIBX tools to create
an xml schema and wsdl from code is about the best out there at the
moment.

3) If you have neither an WSDL or pre-existing code, and are committed
to using only axis2 or perhaps the Spring WS framework, adb is a
reasonable choice.

4) If performance is the top concern, I'd say JIBX is a good choice.

5) If JSR standards are important, use JAX-WS and JAXB.

All of those options are available in Axis2.

- R


> ________________________________
>
> From: Sudhir Mongia [mailto:[email protected]]
> Sent: April 22, 2009 2:31 PM
> To: [email protected]
> Subject: comparison of different databinding
>
>
>
> Hi,
>
>
>
> We have very complex wsdl and I was looking into the data binding approaches
> in AXIS2 and trying to find out which one suits my project.
>
>
>
> Then I just thought of writing here if we have any comparative study
> chart/table ready with us, which lists pros/cons and applicably each in
> different scenarios.
>
>
>
> Please share if anyone has done this execise.
>
>
>
> Thnx,
>
> Sudhir Mongia

Reply via email to