Home » Newcomers » Newcomers » Looking for a Database Web Application Tutorial(Using Eclipse, Derby, and Tomcat)
|
Re: Looking for a Database Web Application Tutorial [message #759147 is a reply to message #759140] |
Sat, 26 November 2011 22:18 |
|
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 #759189 is a reply to message #759154] |
Sun, 27 November 2011 13:47 |
|
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.
|
|
|
Goto Forum:
Current Time: Wed Apr 24 15:07:41 GMT 2024
Powered by FUDForum. Page generated in 0.10118 seconds
|