GeeCON Prague 2014*
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


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?
 
GeeCON Prague 2014
 
subject: Databinding - ADB and none