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

How can I Read a XML file? Please Help me

 
Ravi Pydi
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please DO NOT CROSSPOST YOUR MESSAGE IN DIFFERENT TOPICS. It's so annoying !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic