Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

What do you need to run Servlets?

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic