944,028 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 1323
  • Java RSS
Jan 23rd, 2007
0

Tomcat question

Expand Post »
Hi,
I want to learn how to build web services with java. I am starting out by installing all the neccessary software. I am following directions from a book. However, tomcat is installed twice in the book's example. The first set of direction is labeled Servlet container and tomcat is installed in the home directiory. The second set of direction is labeled Web server and tomcat is installed in the /usr/local/ directory. Is this procedure accurate?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
ryy705 is offline Offline
171 posts
since Jul 2006
Jan 23rd, 2007
0

Re: Tomcat question

First instalation is the one which you need as you only wish to practice on your home pc/laptop. The second option is to setup hosting service I believe.
There is plenty of good tutorials on net, I personaly like this one http://mpcon.org/apacheguide/jsp.php which shows you how to set also Apache with PHP, plus MySQL, My phpAdmin and Rubby (you may want to install MySQL later on)
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Jan 23rd, 2007
0

Re: Tomcat question

Thanks for the prompt response.
Yes, I will install mySQL later on. So, are you saying that I don't need to install Tomcat in two different folders to create and test web services? (I already installed in the /usr/local folder). Why do you think first instruction set is labeled 'servelet container' and the second set is labeled 'web server'? Will one installation of Tomcat serve both functions?
Reputation Points: 10
Solved Threads: 0
Junior Poster
ryy705 is offline Offline
171 posts
since Jul 2006
Jan 23rd, 2007
0

Re: Tomcat question

you need just one instalation and I would recomend you follow the setup from website to which I gived to you link
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Jan 23rd, 2007
0

Re: Tomcat question

installing Tomcat can be (if you don't need anythin fancy, and you don't for learning) as simple as unzipping the distribution archive somewhere (whereever you like).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Jan 23rd, 2007
0

Re: Tomcat question

Thanks again for another quick reply.
The aforementioned website only gives instructions for Windows, I have Linux running on my machine. By the way is it okay install PHP along with everything else on my computer? I will eventually have to learn both PHP and JSP.
Reputation Points: 10
Solved Threads: 0
Junior Poster
ryy705 is offline Offline
171 posts
since Jul 2006
Jan 23rd, 2007
0

Re: Tomcat question

Yes you can runn PHP on same machine, even on Tomcat but that is more complex to set up
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Jan 24th, 2007
0

Re: Tomcat question

The installation instructions included with Tomcat are operating system independent (as it Tomcat itself).
If you don't know how to use Linux, maybe you should spend some time learning that before you attempt running server software on it...
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Homework Help
Next Thread in Java Forum Timeline: Sorting Partially Sorted Arrays





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC