Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse - extract data from XML file on a Server
Eclipse - extract data from XML file on a Server [message #900212] Sun, 05 August 2012 16:25 Go to next message
alexandra123 l is currently offline alexandra123 lFriend
Messages: 4
Registered: August 2012
Junior Member
Hello,

I am looking for some guidance here , hopefully someone can help.

Basically I have eclipse installed.
I have a web page with XML data. I want to retrieve the data from the XML and load it into a database table.

The database table has been created.

I have created a java project that connects to the web page and I have created a sax parser that reads in the data with getters and setters.

I was told that to bring this data into the database I should use a JPA project.

I have created a JPA project and associated the appropriate database connection and table to the project.

How do I sync up getting the parser from the other project to merge with the JPA project ?

Am I doing something wrong ?

Thanks in advance
Re: Eclipse - extract data from XML file on a Server [message #900220 is a reply to message #900212] Sun, 05 August 2012 17:16 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3268
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/05/2012 10:25 AM, alexandra123 leech wrote:
> Hello,
>
> I am looking for some guidance here , hopefully someone can help.
> Basically I have eclipse installed. I have a web page with XML data. I
> want to retrieve the data from the XML and load it into a database table.
>
> The database table has been created.
> I have created a java project that connects to the web page and I have
> created a sax parser that reads in the data with getters and setters.
> I was told that to bring this data into the database I should use a JPA
> project.
>
> I have created a JPA project and associated the appropriate database
> connection and table to the project.
>
> How do I sync up getting the parser from the other project to merge with
> the JPA project ?
>
> Am I doing something wrong ?
>
> Thanks in advance

I can understand your confusion, but this isn't really the forum to ask
this question in. Moreover, this question is really several questions.

I would suggest breaking up what you're trying to do into bite-sized
pieces and asking it in more appropriate forums. Use Google to help find
out about JPA projects. For instance, there's an older JPA tutorial at
vogella.com that might help.

You can get good help on SAX issues in stackoverflow.com. Search also
for tutorials or examples using SAX. There probably won't be anything
doing exactly what you want to do, so eat the elephant one spoonful at a
time.

Hope this helps.
Re: Eclipse - extract data from XML file on a Server [message #900536 is a reply to message #900212] Tue, 07 August 2012 12:40 Go to previous message
alexandra123 l is currently offline alexandra123 lFriend
Messages: 4
Registered: August 2012
Junior Member
Thanks for your post Russel. I had a look at the link provided.

I also got some feedback - that I need to create a Dynamic Web Project which will link to the Sax Parser and JPA project. Effectively the Parser and JPA project will become libraries for the Dynamic project.

So I will look into doing this and see how I get on.
Previous Topic:Eclipse 4.2 memory constantly grows and contracts
Next Topic:eclipse crashes at startup
Goto Forum:
  


Current Time: Sun Dec 21 10:55:59 GMT 2014

Powered by FUDForum. Page generated in 0.01664 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software