aspose file tools
The moose likes Servlets and the fly likes Simpler servlet runner? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Simpler servlet runner?" Watch "Simpler servlet runner?" New topic
Author

Simpler servlet runner?

Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
I am making a Web GUI for a Java application, using servlets. At the moment, I am running the servlets in Tomcat 4, separately to the main application; communication between the servlets and main application is by CORBA.
However, I don't really need all the super features of Tomcat for this application. In fact, they get in the way (e.g. ClassLoader problems). Also, it means that I have two JVMs consuming resources.
Is there a way to run a fixed set of servlets within my main application? A third-party library, perhaps?
Alternatively, is it a huge task to write a simple servlet runner, to go within my application?


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.<br /> <br />#:^P
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12266
    
    1
Jetty is supposed to be a compact and fast servlet container. Search for "jetty java" to find lots of references. It is open source.
Bill


Java Resources at www.wbrogden.com
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Thanks, this looks ideal, at a first glance.
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
I can now report that I have used Jetty successfully in a prototype. It seems quite easy to use and does the job.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Simpler servlet runner?
 
Similar Threads
session
Why do we restart the server when there is a change in Java class
Setting Classpaths
where does servlet run in tomcat 6 Server.?
Pre-compiled JSP?