• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to Parse XML Message from my Message Driven Bean  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi

I am using Message Driven Beans for listening to a Queue .

I am getting a Big XML file from my Queue in form of a TextMessage .

Now my task is to read / parse the XML Message .

Please tell me what is the apprpiate parsing technique i need to use (Should i use SAX or DOM )

Please share your ideas .

Thank you .

 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36453
459
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think? Hint: the size of the message is an important criteria.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ,

the XML file is already present in the form of an String message .(An XML file writte using Xstream API) .

the lines are nearly about 80 lines .
So suggest me a good approach .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!