• 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

XML Beans and Java-XML Conversion

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

We are planning to use Apache's XMLBeans for OX Conversion in our project. We are planning to send all the output from DAO's as XML to the business layer. Something like this,

DAO --> Convert DAO Entites to XML ---> Business Layer reads the XML and it should convert to its own Entities before using it.

DAO layer we will be having its own schema for the xml it generates. And for business layer it needs data in its own schema (say a subset of data generated from DAO layer).

Is it possible to convert xml data (which is in dao's schema) to business layer schema without writing any java code ?

If not, which pattern is best suited, how can i implement ?

-Rgds,
Ramanan.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

without writing any java code ?


Sure, but you will have to write XSLT code
Bill
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic