• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAXB or Mapping XML to Java?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Is anyone can clearly answer what is 'binding' and what is 'mapping' here. in Richard Monson-Haefel 's book no any touch about JAXB, instead of mapping xml schma to Java, it seems a same topic with the JAXB in Java web Service Tutoral and the testing objectives. marshal/unmarshal concepts seems very important, but no any metioned in Richard' book.
Thnaks.
Ely :roll:
 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ely,
In this context, I think of "binding" as the "runtime execution" of "mapping". The runtime process by which the provider populates data from xml -> java and other way around.
example: Which attribute in xml has to be mapped to which property in java is specified by mapping.
How it is performed at runtime (by using pre-compiled mapping classes or reflection) is performed by binding.
Any thoughts guys?
Dushy
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Binding generate JAXB classes using JAXB binding compiler. I am not sure about JAXB mapping
 
Ely Yang
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Dushy.
Ely
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic