Apache’s little brother

I want to play around a bit with modern web technologies and JavaScript (AJAX, JQuery, JavaScript in general) and was in need of a webserver. Since all I found where either difficult to setup or quite complex to configure (and I was bored so wanted something to hack, too) I implemented my own small and probably totally insecure webserver in Java. It

  • is multi-threaded
  • supports a simple form of Servlets and provides rudimentary transformation of GET-requests
  • has a parser to modify served files on delivery, useful for templating
  • is quite small (around 380 LOC)
  • very easy to setup and use in other Java projects

Write me a mail if you’re interested in the code. And not to forget the obligationary screenshots (well, of the served page and servlet call)

Leave a reply