Home » Interview Questions » Servlets Interview Questions
 

Jul
2007

Explain the Front Controller design pattern or explain J2EE design patterns?

A J2EE system requires a centralized access point for HTTP request handling to support the integration of system services like security, data validation etc, content retrieval, view management, and dispatching.

Jul
2007

Explain declarative security for WEB applications?

Servlet containers implement declarative security. The administration is done through the deployment descriptor web.xml file.

Jul
2007

What is a filter, and how does it work?

A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses but typically do not themselves create responses. Filters can also be used to transform the response from the Servlet or JSP before sending it back to client.


1