This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes Databinding - ADB and none Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Databinding - ADB and none" Watch "Databinding - ADB and none" New topic
Author

Databinding - ADB and none

Anjali S Sharma
Ranch Hand

Joined: Jun 29, 2005
Posts: 279
I am writing webservices using Axis2 and Java. I have written the WSDL and now I want to generate skeleton from it (contract first approach).

When I use eclispe to do so, it asks me which Databinding I want to use - ADB or none.

Can someone please let me know the difference between the two?

Thank you
dharmendra gahlot
Ranch Hand

Joined: Apr 22, 2009
Posts: 54
There are three options for data-binding framework in Axis2.

ADB:- A light weight data binding framework used in Axis2.

XMLBeans:-
XMLBeans is a technology for accessing XML by binding it to Java types. XMLBeans provides several ways to get at the XML, including:
Through XML schema that has been compiled to generate Java types that represent schema types. In this way, you can access instances of the schema through JavaBeans-style accessors after the fashion of "getFoo" and "setFoo".
The XMLBeans API also allows you to reflect into the XML schema itself through an XML Schema Object model.
A cursor model through which you can traverse the full XML infoset.
Support for XML DOM.

JIBX:-
JiBX provides great flexibility in binding your XML document structure to Java objects, so there are really many different ways you can represent this data using JiBX.


Dharmendra Gahlot
SCJP-5.0 87%,SCWCD-5.0 92%
Anjali S Sharma
Ranch Hand

Joined: Jun 29, 2005
Posts: 279
thank you.

Will the choice of databinding frameword (ADB or something else) effect my service code or will it effect just the client code?
 
Consider Paul's rocket mass heater.
 
subject: Databinding - ADB and none