jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12759
Tomcat does not support Python directly but Jython - the Java interpreter for Python programs is supposed to run on any Java system.

It is sorta covered in the JavaRanch Style Guide.
subject: Newbie Question: setting up server and DB
Similar Threads
Strengths and Weaknesses of various programming languages
Python/JPython, Ruby/JRudy, the point??
i need to know this, please, can you answer this questions and be fair
Scripts on Linux/Unix: PHP, Perl, and Python
prepared statement in for loop