Posted: Fri Aug 01, 2008 4:38 pm Post subject: XML to JAVA objects
Apprentice
Joined: 09 Oct 2006 Posts: 26 Location: LONDON
Hi,
Can message broker convert a xml message to a java object format and then put in a websphere q or JMS Q where an MDB will be listening.
OR if an XML message reaches an Q where MDB is listening wat is the ideal wat to read the XML and covert it as java objects?. I dont want to read and parse node by node.
Posted: Mon Aug 04, 2008 1:48 pm Post subject: Re: XML to JAVA objects
Centurion
Joined: 03 Apr 2006 Posts: 101 Location: USA
Vijay,
I guess in your case, once your MDB reads the message off the queue, u can use something like CASTOR to generate your Java objects off the received XML.
Hope that helps.
Posted: Mon Aug 04, 2008 2:30 pm Post subject: Re: XML to JAVA objects
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
Vijay_d wrote:
Hi,
Can message broker convert a xml message to a java object format and then put in a websphere q or JMS Q where an MDB will be listening.
OR if an XML message reaches an Q where MDB is listening wat is the ideal wat to read the XML and covert it as java objects?. I dont want to read and parse node by node.
Thanks in Advance.
Have you looked at XMLBeans? or at a DOM parser? _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum