File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet Requirements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Requirements" Watch "Servlet Requirements" New topic

Servlet Requirements

Somesh Rathi
Ranch Hand

Joined: Apr 27, 2006
Posts: 36
Hello Everybody,
Please tell me which things are needed to install for compiling & running servlet ? Please tell me the detail procedure . Also Please tell me where can I find free server(e.g. TOMCAT) for running servlets.
Which is good book for learning servlet ?

Thanks in advance
Somesh Rathi.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

To compile, you need at least an SDK (J2SE) and a JAR file called servlet-api.jar. You'll find this file in Tomcat's common directory.

About a book, Head First Servlets and JSP is a recommended one at the ranch. (it's actually aimed at passing Sun's SCWCD certification ,about servlets and jsp)
[ October 06, 2006: Message edited by: Satou kurinosuke ]

[My Blog]
All roads lead to JavaRanch
sven studde
Ranch Hand

Joined: Sep 26, 2006
Posts: 148

I'm studying Head First Servlets & JSP, and so far I think it's an excellent book. I also have Murach's Java Servlets and JSP, which is also highly recommended, but it doesn't have as much detail as the HF Servlets & JSP. I think the Murach's book provides a good, basic introduction, but after reading each short lesson, I had technical questions about some of the details (e.g. how to determine what path to use when refering to a file). I found that those technical details were clearly explained in the HF book.

My recommendation would be to get both books. Start with the Murach's book and after you finish chapter 6, switch over to the HF book. I think the first three chapters of the HF book would be too overwhelming for absolute beginners.
[ October 06, 2006: Message edited by: sven studde ]
I agree. Here's the link:
subject: Servlet Requirements
jQuery in Action, 3rd edition