text: hey how i will use servlet?   a servlet is a peace of java software that runs on a server, and typically serves web content.  in order to run a servlet, you need some servlet container software. there are many out there, like apache tomcat, jboss or caucho resin.