Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Databinding - ADB and none

 
Anjali S Sharma
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anjali S Sharma
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you.

Will the choice of databinding frameword (ADB or something else) effect my service code or will it effect just the client code?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic