Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes How to do XML to DB using Message Driven Bean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to do XML to DB using Message Driven Bean? " Watch "How to do XML to DB using Message Driven Bean? " New topic
Author

How to do XML to DB using Message Driven Bean?

gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
Please give some hint how can xml to database can be done using MDB.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

gyan kumar wrote:how can xml to database

What? O.o

You want to persist a xml data into a database? Or create a xml in a MDB?


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
XML file data to database.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

You want to save the xml itself or its data only?

Could you please be more specifc?
gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
it's data only.
gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
I mean to say xml data needs to be parsed and should be stored in the database.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

That's still too vague. You're going to have to figure out what you want to do before you decide how to do it. Your question -- so far -- is equivalent to "How do I get my stuff over there?"
gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
It is like fetching data from rss feed .
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9937
    
159

Just one line vague questions? Please be a bit more specific. For example, why do you think MDB should be involved in whatever you are trying to do? And what is it that you are trying to do?



[My Blog] [JavaRanch Journal]
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 394
Another way of repeating:

"A problem well stated is a problem half solved."


MDB: "A medicine is a vitamine for one man and a poison for another."
 
 
subject: How to do XML to DB using Message Driven Bean?
 
Similar Threads
Database access using Java Script
Xml Element to Byte Array
about transforming data
response xml
writing xml document using xml schema using Eclipse