| | |
Tomcat question
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Jul 2006
Posts: 134
Reputation:
Solved Threads: 0
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?
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?
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)
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)
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Jul 2006
Posts: 134
Reputation:
Solved Threads: 0
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?
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?
you need just one instalation and I would recomend you follow the setup from website to which I gived to you link
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Yes you can runn PHP on same machine, even on Tomcat but that is more complex to set up
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
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...
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...
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- how to use jsp and tomcat (JSP)
- Running Tomcat on a webserver? (Java)
Other Threads in the Java Forum
- Previous Thread: Homework Help
- Next Thread: Sorting Partially Sorted Arrays
| Thread Tools | Search this Thread |
2dgraphics account android api apple applet application array arrays automation banking binary binarytree bluetooth chat chatprogramusingobjects class classes client code component data database derby design draw eclipse encryption error event exception fractal game givemetehcodez graphics gui html ide if_statement image inheritance input integer interface j2me java javadesktopapplications javaprojects jlabel jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile monitoring netbeans newbie nullpointerexception open-source oracle print printing problem program programming project property recursion reference ria scanner screen search server set size sms sort sourcelabs splash sql static stop string swing testautomation threads time tree ui unicode validation windows






