O'Reilly logo

GlassFish Security by Masoud Kalali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing protected resource inside a Web module

A Web module represents resources inside the application server accessible using HTTP protocol. Each Web module is a deployable archive that contains JSP, Servlet, EJBs, and static contents like HTML page and graphical resources. A Web module is a ZIP file with WAR extension, a specific structure as shown in the previous figure, and one or more deployment descriptors.

The Web container responds to each HTTP request by executing doPost or other request processing methods of Servlet, processing a JSP or sending back a piece of static content like an HTML page. The following figure shows how users can access a protected resource in a Java EE application server.

The previous figure illustrates steps ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required