Skip to main content

Web Servers (Tomcat, GlassFish)

Learn Web Servers (Tomcat, GlassFish) (Intro to Web & Servlets, JSP Servlets) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is a Web Server? • A Web Server is a software that handles HTTP requests from clients (like browsers) and sends back responses (HTML, JSON, etc.). What is Apache Tomcat? • Open-source Java Servlet container • Used to run Java web applications • Supports Servlets and JSP What is GlassFish? • Full Java EE Application Server • Supports Servlets, JSP, EJB, JPA, JMS • More advanced than Tomcat Tomcat vs GlassFish (Basic Difference) • Tomcat → Lightweight, Servlet & JSP container • GlassFish → Full Java EE server

More lessons in Intro to Web & Servlets