aspose file tools*
The moose likes Tomcat and the fly likes A beginner desperately needs to reduce torture and pain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "A beginner desperately needs to reduce torture and pain" Watch "A beginner desperately needs to reduce torture and pain" New topic
Author

A beginner desperately needs to reduce torture and pain

Rami Sawas
Ranch Hand

Joined: Jan 25, 2004
Posts: 41
I've been reading the threads but I have a few question I would like to ask:
1) I've just checked http://jakarta.apache.org to download Tomcat, but I came across of two links:
Binary and Source
What's the difference?!
2) Why do I have to create CLASSPATH and all these objects?
3) I'm using Windows XP, is Tomcat suitable?
4) What's the difference between EXE and ZIP Tomcat? Isn't Zip is just a file to reduce the size of Tomcat?!
5) As you can tell, I know nothing about Tomcat.
I'm going to use XML as my database and Java as the main programming language for online hotel booking. I'm downloading soon Tomcat and Struts, as adviced by my teacher.
I want to keep my project as simple as possible.
Please can someone guide me to tackle this project, it's my first time I'm faced with such a task. I'm not that good in programming, but I'm really interested and keen to learn on how these sort of things happen behind the scene.
Thank you & look forward to hearing from you.
Rami
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

1) Binary is a compiled program, and Source is the source-code of that program, but not compiled. So for you, you want the binary.

2) You don't. What objects? Are you talking "why does java have only objects, and what's all this classpath business"? If that's your question, then take it to "Java in General - Beginner's " - it's kind of a broad topic to discuss.

3) Yes, Tomcat runs on XP

4)EXE is a nice installer program that sets up Tomcat environment variables, system services, etc. With the ZIP file, you have to unzip the program directory and set up these things yourself. So go with the EXE

Any reason for XML? Is it required by your teacher? If not, I'd recommend (highly!!) using a database.
Rami Sawas
Ranch Hand

Joined: Jan 25, 2004
Posts: 41
I'm using XML because I know and studied it. Also I need a bit of change from Access.
I've downloaded Tomcat , but then it asks me to select a path of the JVM (Java Virtual Machine) on my system. I understood that I need to download something else, so I visited this site
http://java.sun.com/j2ee/1.4/download-dr.html
Which one I'm supposed to choose keeping in mind I downloaded "jakarta-tomcat-5.0.18"?
By the way, I visited the site "http://jakarta.apache.org/tomcat/tomcat-5.0-doc/" but I found it really hard to understand it
Thank you.
Rami
Rami Sawas
Ranch Hand

Joined: Jan 25, 2004
Posts: 41
I've browsed the Internet and decided to download this "J2EE(TM) SDK 1.4 Developer Release, English (j2eesdk-1_4-dr-windows-eval.exe, 116.92 MB"
It's going to take 6 hours to download!!!
I hope I'm doing the right thing.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12783
    
    5
You do NOT need the J2EE package to work with Tomcat. Just the SDK - J2EE is loaded with stuff you won't need and will just cause confusion since it also has a copy of Tomcat that is typically several versions behind the latest.
Bill
Rami Sawas
Ranch Hand

Joined: Jan 25, 2004
Posts: 41
I've tried downloading both SDK (also tried JDK), but whenever I open the file after downloading it, I get an error message saying the file isn't a valid Wind32 application.
The file is j2sdk-1_4_2_02-windows-i586-p-iftw.exe and got it from this site http://java.sun.com/products/archive/.

Thanks,
Rami
Rami Sawas
Ranch Hand

Joined: Jan 25, 2004
Posts: 41
It's working fine, downloaded j2sdk1.4.2_03
emm raha
Ranch Hand

Joined: Mar 18, 2003
Posts: 57
Another beginner question:
I downloaded and unzipped jakarta-tomcat-5.0.19.zip to c:\jakarta-tomcat-5.0.19. I already had j2se installed and working. I doubleclick c:\jakarta-tomcat-5.0.19\jakarta-tomcat-5.0.19.exe and get "Java Virtual Machine not found" error.
Additional information:
* I tried running jakarta-tomcat-5.0.19.exe on the assumption it completed the install. I also tried running startup.bat incase that helped - it didn't (the cmd window just flashed and closed immediately).
* %path% set to include C:\j2sdk1.4.2_03\bin
* %java_home% set to C:\j2sdk1.4.2_03
* looking to install Tomcat standalone (w/o Apache)
* installed j2se without j2re (usually C:\Program Files\Java\j2re1.4.2_03)
* so far just been able to unzip .../bin/jakarta-tomcat-5.0.19.zip to C:\jakarta-tomcat-5.0.19
Any help?
[ March 15, 2004: Message edited by: emm raha ]
emm raha
Ranch Hand

Joined: Mar 18, 2003
Posts: 57
Solved. Didn't need to run jakarta-tomcat-5.0.19.exe. Set the environment variables according to:
http://www.coderanch.com/t/81493/Tomcat/Step-step-Installing-Tomcat-Windows
And then ran startup.bat.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A beginner desperately needs to reduce torture and pain