Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Looking for a Database Web Application Tutorial(Using Eclipse, Derby, and Tomcat)
Looking for a Database Web Application Tutorial [message #759140] Sat, 26 November 2011 19:33 Go to next message
mdcooledge is currently offline mdcooledgeFriend
Messages: 2
Registered: November 2011
Junior Member
Hi,

I am looking for any and all tutorials discussing how to setup and create a simple web application using a database. Any tutorials will be helpful but preferably newly dated ones. I am using Eclipse, Derby, and Tomcat. The main problems is how to properly set up the all the plugins and files and such with derby and eclipse.

Thanks any and all help.

Re: Looking for a Database Web Application Tutorial [message #759147 is a reply to message #759140] Sat, 26 November 2011 22:18 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.11.26 12:34, mdcooledge wrote:
> Hi,
>
> I am looking for any and all tutorials discussing how to setup and
> create a simple web application using a database. Any tutorials will be
> helpful but preferably newly dated ones. I am using Eclipse, Derby, and
> Tomcat. The main problems is how to properly set up the all the plugins
> and files and such with derby and eclipse.
>
> Thanks any and all help.

You imply that you're interested in using Eclipse Data Tools Project
(DTP). There is a separate forum for that, but in the meantime, may I
suggest Lars Vogel's tutorial on Eclipse DTP including Derby:

http://www.vogella.de/articles/EclipseDataToolsPlatform/article.html

Your question is rather vague on what of all of this you need help
doing. You'll get some in Lars' tutorial. If you were looking to use an
ORM like Hibernate, be sure to specify that. I have some good notes on
Hibernate, just ask.

Best of luck,

Russ
Re: Looking for a Database Web Application Tutorial [message #759154 is a reply to message #759147] Sat, 26 November 2011 23:22 Go to previous messageGo to next message
mdcooledge is currently offline mdcooledgeFriend
Messages: 2
Registered: November 2011
Junior Member
Thanks a lot for the link Russ it is about half of what I am trying to do. I am sorry if I didn't make my self clear. But what I am trying to do is create a database through derby then be able to access it through a web app using Tomcat. The main problem I am having is setting up the web project in eclipse to run both derby and tomcat w/o any problems.

Morgan
Re: Looking for a Database Web Application Tutorial [message #759189 is a reply to message #759154] Sun, 27 November 2011 13:47 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.11.26 16:22, mdcooledge wrote:
> Thanks a lot for the link Russ it is about half of what I am trying to
> do. I am sorry if I didn't make my self clear. But what I am trying to
> do is create a database through derby then be able to access it through
> a web app using Tomcat. The main problem I am having is setting up the
> web project in eclipse to run both derby and tomcat w/o any problems.
>
> Morgan

If you're not specifically committed to Derby, I have articles on MySQL
along with, if you're just getting started, a very exhaustive one on
creating web applications. A merger of what I present in both might get
you there. What the article on JDBC via MySQL presents would be fairly
close for Derby use although I don't specifically show the
DriverManager.getConnection() call for Derby nor its set-up, etc.

See:

http://www.javahotchocolate.com/tutorials/jdbc.html

http://www.javahotchocolate.com/wtp-tutorials/wtp-tutorial.html

Also, unless you're super committed to Eclipse DTP, there's an article
on using SQuirreL, an excellent database browser. I've used DTP and it's
pretty convenient, but just a little frustrating and just as I'd rather
edit using Vim than the Eclipse editor, I have more experience doing
database work with MySQL, PostgreSQL, Oracle, etc. using a tool that's
not integrated with Eclipse:

http://www.javahotchocolate.com/tutorials/squirrel.html

This is pretty old stuff, however. If your plan is to embrace JEE fully,
you'll want to move past ancient technologies such as JDBC, JSP,
servlets, etc. If you're just looking for a quick way to get something
running, you should have more help than you need between Lars' and my sites.

Best of luck.
Previous Topic:Debug launch problem "Program not recognized executable"
Next Topic:multiple rows to tabs for editor selector tabs? (similar to ultraedit or
Goto Forum:
  


Current Time: Fri Jun 25 11:31:35 GMT 2021

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

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

Back to the top