• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Minimum Requirements to practice Servlets?

 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 21390
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Supree
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all!
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic