• 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

How can I Read a XML file? Please Help me

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
My task is to read an XML file in J2EE environment. Then send the data into a database. I was told that we may have to use one of the parsers.
If somebody has got a sample code, please let me know.
The code can be on any of the following scenarios.
Scenario1: Create a Javabean(XML_To_Oracle) in J2EE that can take the XML message as input and write the XML PO data back to a Oracle DB.
Scenario2: Create a Javabean(XML_To_DB2) in J2EE that can take the XML message as input and write the XML PO data back to a DB2.
Scenario3: Create a Javabean(XMLRouterBean) in J2EE that can take the XML message as input and depending on the router string in the XML Message invokes either the XML_TO_Oracle Bean or the XML_TO_DB2 or Invokes Both.
Thanking You,
Ravi Pydi and the team
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please DO NOT CROSSPOST YOUR MESSAGE IN DIFFERENT TOPICS. It's so annoying !!
 
reply
    Bookmark Topic Watch Topic
  • New Topic