This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Databinding - ADB and none
 
Similar Threads
Axis 2 -> WSDL2Java - JAXB classes creation ?
How to debug an Android web app
ADB webservice - attributes and elements content
AXIS2 - Databinding question
No databinding in JAX-WS - wsimport