This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simpler servlet runner?

 
Peter Chase
Ranch Hand
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Peter Chase
Ranch Hand
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, this looks ideal, at a first glance.
 
Peter Chase
Ranch Hand
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic