Java Web Applications

A Java Web application consists of one or more servlets, JSP files, utility classes, files with static content (such as HTML, image, audio and video files), client side applets and associated classes, and meta information to tie together these components. This meta information is also known as the Web application deployment descriptor.

A servlet is nothing but a application-specific Java class that extends abstract class javax.servlet.http.HttpServlet and overrides methods such as doGet() and doPost() to process corresponding HTTP requests. Servlets are deployed within a J2EE Web container. JSPs are related to servlets but offer a different approach, known as a page-oriented approach, to develop Web applications, allowing ...

Get J2EE™ Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.