|
![]() |
![]() Resin provides a standalone web server. In our benchmarks, it actually serves static pages faster than Apache! The standalone web server is ideal for evaluation or experimentation and is a good choice as the web server for many sites. ![]()
To start the Resin web server, type:
Go to the demos and make sure they work. Now, add a file resin1.1/doc/test.jsp containing the following:
Try language=java to make sure that Java works as well.
A better way to run the servlet engine in a production environment is to use the start and stop scripts. These scripts add extra reliability to the server. If Resin should ever exit, it will automatically be restarted. To start the web server, use
To stop it, use
The Resin Web Server can be installed as an NT service. To install the service, use
To remove the service, use
You will either need to reboot the machine or start the service from the Control Panel/Services panel to start the server. On a machine reboot, NT will automatically start the web server.
|