What is servlet in java???
They are Java classes used to build J2EE applications. Servlet are a bit difficult to learn. Its easier to learn jsp and jsf. This two technologies are both translated to servlet at compile time and then byte code . I personally prefer jsp because it's kinda looks like PHP or asp. Nobody really builds J2EE applications using pure servlets .