axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <>
Subject Re: Axis2 article with databinding comparison
Date Fri, 27 Jul 2007 11:53:50 GMT
Hi Deepal,

I don't really consider POJO support as appropriate for web services of 
any complexity, since it directly exports the object model as part of 
the service definition. It also is generally unable to cope with data 
structures of any complexity, such as hash maps and even collections 
(other than typed arrays), or any form of object graphs. These are the 
same issues which led to the deprecation of rpc/enc - though rpc/enc at 
least had support for object graphs.

Based on my experience with client organizations, I've seen very few 
real-world applications which could successfully be exposed directly 
using POJO service support. And based on the POJO guide for Axis2 I 
wouldn't call the use of POJO very easy on the client side.

Do you disagree on these points?

  - Dennis

Deepal jayasinghe wrote:
> Hi Dennis ,
> I quickly went through your article and in the conclusion you have the
> following which I do not agree
> *JiBX* is the only alternative that supports working with existing Java
> classes, though Axis2 does include a limited form of plain old Java
> object (POJO) support that can be used for simple cases. It also
> provides the best support for unwrapped service methods in Axis2. But
> the JiBX support integrated into Axis2 doesn't handle code generation
> from schema, and even the separate code generation from schema support
> provided by the JiBX tools provides only limited schema support.
>>>>> In Axis2 we support any kind of Java bean , there is no limitation
> for simple classes . Only thing we do not support in our POJO is
> enumerations, and we have a bit test cases to validate whether we are
> doing it right or wrong.
> Yes at the initial stage we had only support for simple class but not
> anymore .
> Thanks
> Deepal
>> My devWorks article comparing ADB, XMLBeans, and JiBX data binding
>> with Axis2 has now been published:
>> I *am*
>> the primary developer for JiBX, but tried to give a fair
>> representation of all three frameworks in the article. It also
>> includes full sample code, for both the current 1.2 release and the
>> in-progress 1.3 release.
>> While I'm promoting my own stuff, I'll also mention that I'm planning
>> a trip to Australia in early September for on-site consulting and
>> training visits (see the Axis2 training course outline:
>>, and will follow-up
>> with another trip to the U.S. later in the (northern hemisphere) fall.
>> Visits to other parts of the world can also be arranged... email me
>> directly if interested.
>>  - Dennis
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message