IntelliJ Java IDE
The moose likes EJB and Other Java EE Technologies and the fly likes Need to Parse XML Message from my Message Driven Bean  Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "Need to Parse XML Message from my Message Driven Bean  " Watch "Need to Parse XML Message from my Message Driven Bean  " New topic
Author

Need to Parse XML Message from my Message Driven Bean

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2231



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 .


Save India From Corruption - Anna Hazare.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23635

What do you think? Hint: the size of the message is an important criteria.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3, OCAJP
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2231

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 .
 
 
subject: Need to Parse XML Message from my Message Driven Bean
 
Threads others viewed
Coversion of String data into a xml file
Websphere MQ and MDB and Administered objects
How to use JMS MESSAHE SELECTOR
MDB and foriegn JMS Provider
How to not acknowledge a JMS message from an MDB
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture