File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Minimum Requirements to practice Servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Minimum Requirements to practice Servlets?" Watch "Minimum Requirements to practice Servlets?" New topic
Author

Minimum Requirements to practice Servlets?

Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
What are the <CODE><B>minimum</B></CODE> requirements to practice servlets in my modest PC at home?
<P>
Today I read the first intro article in the latest edition of JavaPro Magazine and the example was almost trivial and it did what an old CGI script would have done. Of course I knew beforehand that this is a characteristic of servlets. To replace old CGI scripts.
<P>
But it was in Java, which is a (<I>the?</I> ) benefit.
<P>
It looked like there had to be a Web server involved. Can I get around that?
<P>
If not, I need a server that does not occupy all of the rest of my hard drive...


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
I don't know WHY the HTML didn't take on my previous post above. SORRY. Even though, replies will be appreciated just the same.
Thank you very much.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

HTML is turned off on this forum. As I write this, I can see to the left "HTML is off".
But we all get the idea.
If you download the JSDK, it comes with some little servlet running utility so you can test your servlets.
I have machines with a little punch, so I use Apache and JRun for my servlet stuff. I'm not sure how much space they take up. And this is the stuff that is used to actually serve stuff.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Supree
Greenhorn

Joined: Feb 25, 2000
Posts: 27
Hi Tony,
I have set up Java Webserver2.0 last week end at home. You can download it from Sun's web site www.java.sun.com.
I tested some servlets with it and everything works fine.
Regars,
Supree
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
Thanks to all!
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Again the same suggestion that I posted for another thread -- if you only intend to LEARN Servlets, use SERVLETRUNNER. You will save lot of time, energy and HARD DISK SPACE !
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
I installed the Sun JSDK 2.1. Where can I get a Win32 version of ServletRunner? It is not in this kit, right? Thanks.
Doug
Greenhorn

Joined: Mar 14, 2000
Posts: 2
Tony,
The JSDK2.1 comes with a small HTTP server vs. the servletrunner. Here's a link that explains how to set it up and use it. Hope this helps.
http://java.sun.com/docs/books/tutorial/servlets/servletrunner/server-start.html
Doug
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Maybe this is obvious - but I don't get it.
What is the difference between JSDK and JWSDK?
People here are asking questions about JSDK, however, the Sun website says that we need JWSDK (and not JSDK) :
Java Server Pages to download the JWSDK here: http://java.sun.com/products/jsp/download.html
For Servlets to download the JSWDK here: http://java.sun.com/products/servlet/download.html
Maybe JSDK is the new name for JDK?? If I have JDK1.2.2 does that mean I have the servlet utility "servlet runner" somewhere?
I noticed that my servlet books talk about a javax.servlet packages - but these packages do not exist in my javadocs???
Maybe I answered my own questions here, but I appreciate any help I can get. I feel like a person alone in the wilderness.
Apparently, I need to download JSDK and get rid of JDK on my computer.???
 
jQuery in Action, 2nd edition
 
subject: Minimum Requirements to practice Servlets?
 
Similar Threads
very very simple problem.
Perl/Cgi in Tomcat 5.5
Executing cgi script from applet
unordered list
Open an HTML page in IE or Netscape from Java Application