The Artima Developer Community
Sponsored Link

Java Answers Forum
Best bets for lightweight servlet container/server?

7 replies on 1 page. Most recent reply: Jan 4, 2007 5:02 PM by D R

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 7 replies on 1 page
Gerry Giese

Posts: 18
Nickname: gerryg
Registered: Feb, 2003

Best bets for lightweight servlet container/server? Posted: Feb 13, 2004 3:49 PM
Reply to this message Reply
Advertisement
I'm looking for an open-source servlet container or servlet server (I'm not picky!) that is very lightweight. In other words, I don't need 'extras', I want it to be small and fast, and it doesn't have to handle very many users at all. And it wouldn't bother me if it only could server one webapp only. I would possibly deploy on very small servers or stand-alone user machines depending on the need, or even embed the code into an app. JSP support is purely optional.

Does anyone know of some options? And please don't point to the "How Web Servers Work" article at OnJava -- already looking at it.

When I do searches I usually find all the bigger servers or abandoned ones crowding the results (tomcat, resin, jetty, jigsaw, jserv) or end up getting hits for full-blown app servers. A stipped down resin or jetty might work, but it would be a lot of work, and might still be bigger than I'd really need. Gotta say I do love resin, though, both for ease-of-use and speed.

Thanks!


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Best bets for lightweight servlet container/server? Posted: Feb 14, 2004 3:21 PM
Reply to this message Reply
Check out the Tomcat servlet engine.

Its open source and you can download and install it in a short while.

I do all my servlet and jsp development on it.

http://jakarta.apache.org/tomcat/index.html

Gerry Giese

Posts: 18
Nickname: gerryg
Registered: Feb, 2003

Re: Best bets for lightweight servlet container/server? Posted: Feb 17, 2004 8:41 AM
Reply to this message Reply
Tomcat is much, much bigger than what I'm looking for. I don't need all of it's manageability features, authentication, admin tools, JNDI (I don't think a servlet container needs this, but I could be wrong), clustering, etc. Yeah, I could take it and make a light version of it, but that would take a while (sorting out dependencies, testing, etc). I was hoping to find something small, tested, and well-defined (i.e., already done!).

Any other suggestions? Or is there anyone who thinks that a "Tomcat Light" project is worth pursuing? I've heard some people say that Tomcat is kinda slow, so maybe a tighter, more focused version is needed to improve performance and meet the needs of those folks who don't need all of Tomcat's capabilities.

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Best bets for lightweight servlet container/server? Posted: Feb 17, 2004 9:49 AM
Reply to this message Reply
http://www.mortbay.com/software/Jetty.html

Jetty Java HTTP Server
Jetty is an Open Source HTTP Servlet Server written in 100% Java. It is designed to be light weight, high performance, embeddable, extensible and flexible, thus making it an ideal platform for serving dynamic HTTP requests from any Java application.

Gerry Giese

Posts: 18
Nickname: gerryg
Registered: Feb, 2003

Re: Best bets for lightweight servlet container/server? Posted: Feb 17, 2004 11:36 AM
Reply to this message Reply
Jetty might be a little closer to what I'm looking for as it is embeddable, but looking at it I think it's almost as big as Tomcat. These two are just a lot bigger than I'm looking for. I guess maybe I should emphasize that I don't have a requirement that the container/server be fully spec-compliant? I'll keep looking around for something even more lightweight than Jetty. I really appreciate the replies, though!

Mike Sandman

Posts: 6
Nickname: n8behavior
Registered: Feb, 2004

Re: Best bets for lightweight servlet container/server? Posted: Feb 17, 2004 7:54 PM
Reply to this message Reply
i'm not sure just "how low are you willing to go"...but i do a bit of embedded development and have run across this project

http://users.rcn.com/cks.enteract/distributopia/index.html

MinTC is VERY minimal. the entire source code base is < 200KB

hope this helps...

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Best bets for lightweight servlet container/server? Posted: Feb 19, 2004 1:18 PM
Reply to this message Reply
A comprehensive list of servlet engines is at:
http://www.servlets.com/engines/index.html

D R

Posts: 2
Nickname: mockba
Registered: Jan, 2007

Re: Best bets for lightweight servlet container/server? Posted: Jan 4, 2007 5:02 PM
Reply to this message Reply
I know currently two servlet/containers under 100K size. They are Winstone and TJWS.

Flat View: This topic has 7 replies on 1 page
Topic: Best bets for lightweight servlet container/server? Previous Topic   Next Topic Topic: how to connect two Japplet pages using a button?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use