This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Newbie Question: setting up server and DB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Newbie Question: setting up server and DB" Watch "Newbie Question: setting up server and DB" New topic

Newbie Question: setting up server and DB

Dave Reinhardt
Ranch Hand

Joined: Aug 07, 2006
Posts: 54
I am totally new to servlets so I'm wondering if people could steer me to some good books or links on the subject. I've written some server side Python programs that interface with a mysql database, and also some java applications. Here is what I'd like to do, but don't know if it can be done for free or if the learning curve is too high:

1. Set up a server or use one that will allow me to run my java programs from a web site. (I'd also like to run the Python programs)
2. Set up an sql database that will interface with the server programs.

Can I somehow use my windows xp box as a server and db?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You'll need to aquire a servlet container.
Tomcat is free, open source, and has good documentation for setting up mysql datasources.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Tomcat does not support Python directly but Jython - the Java interpreter for Python programs is supposed to run on any Java system.

I agree. Here's the link:
subject: Newbie Question: setting up server and DB
jQuery in Action, 3rd edition