Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
How to read XML in a Message Driven Bean?
Prabha Hegde
Greenhorn
Posts: 3
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I want to know how to capture an XML file in an MDB. That is what is the code that goes inside onMessage(Message msg) where msg is an XML file ?
Thanks.
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to know how to capture an XML file
An "XML file" is just text - what do you want to do with the document text once you have it?
Bill
Prabha Hegde
Greenhorn
Posts: 3
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have customerID in XML and want to get full information of that customer from database using
JDBC
in MDB.
Paul Clapham
Marshal
Posts: 28177
95
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Okay. Then get the text from the Message object, parse it as XML, extract the customer ID, and do the JDBC code to get the customer information. Which parts of this are you having trouble with?
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
adding dynamic value to properties file.
XML and HTTP
How to call java method from ant task ?
Help for JSP?
How to process SOAP attachment at web service??
More...