Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help me!! How to read the XML file in J2EE  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!