File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What do you need to run Servlets?

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic