aspose file tools*
The moose likes Servlets and the fly likes What do you need to run Servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "What do you need to run Servlets?" Watch "What do you need to run Servlets?" New topic
Author

What do you need to run Servlets?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello,
I am a beginner. I have jdk1.3 installed. JRun, JBuilder running on the server.
1. Now if I have to complie and test my servlets, what else I have to install on my machine. Do I need jsdk and j2ee installed on my machine.
2. How do I run my servlets on the host?
I appriciate your help!
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
Just run the JAVA WebServer or the servlet runner utility and refer the servlet to the port 8080 of localhost or 127.0.0.1
Rafiq.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
To compile servlets you need the class files for the Servlet API.
To run servlets you need some form of servlet container. This may either be a stand-alone servlet-capable web-server or an extension module which plugs in to an existing server.
The simplest way to get started is to download one of the complete, statnd-alone servers which implement the latest (2.2 at the moment) version of the Servlet API. This should provide you with everything you need.
The official reference platform for Servlet development is Tomcat, from the Apache Jakarta project at http://www.jakarta.apache.com/ . My favourite Servlet container is currently Resin from http://www.caucho.com . Both are modern, high-quality, standards-compliant servlet containers which provide the current version of the Servlet and JSP APIs. Both are free for most uses.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi thanks for replying! I am very new to the whole concept....:-)
I have JRun, I was thinking it is a container where I can run my servlets, so is it not or is it?
Also as I said I just have on my client machine just the JDK installed, so for compling the servlets do I also need JSDK or JE22 installed on my client machine... If anybody could explain this, that would so of great help!
Thanks
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Since you already have JRUN and JDK running on your server, all you need now is 'Netscape Application Server', which you can download from the Netscape website for free. But wait..,JRUN works on top of Netscape, so I guess, you will need to remove JRUN, install Netscape and then install JRUN again.
Hope it helps.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
JRun is not specific to Netscape. JRun will run on its own, or it will plug in to most well-known web servers (Apache, Netscape, IIS etc.)
As you already have JRun, just take some time to read the JRun documents and look at their examples.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What do you need to run Servlets?