there are many freely available servet engines.Eg., tomcat from apache and resin2.0 from
www.caucho.com. It can also be plugged to apache webserver. resin has good stright forward examples and docs.
I didn't do much work on tomcat4.0, so cant say much about it.
You can also use javawebserver from sun.
GOOD LUCK,
Siva