Java JSP And Servlets On the Java side, two methods are commonly used for Web development. JSP (Java Server Pages) support the usage of Templates that contain Java code fragments, similar to how its done using PHP. Java Servlets allow a user to write programs with an interface similar to that of CGI, but Servlets are persistent - they are executed once, and remain active until the Servlet engine is brought down. Under Linux, Apache's Java support may be used to run Java Servlets and JSP. Apache's Tomcat is useful here. IBM's VisualAge is supposed to allow to debug Servlets running under Tomcat - so might be useful here.