Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: J2EE Category

Explain the life cycle methods of a Servlet. 0

Explain the life cycle methods of a Servlet.

The javax.servlet.Servlet interface defines the three methods known as life-cycle method. public void init(ServletConfig config) throws ServletException public void service( ServletRequest req, ServletResponse res) throws ServletException, IOException public void destroy() First the servlet is...

Difference between forward and Redirect 0

Difference between forward and Redirect

forward Control can be forward to resources available within the server from where the call is made. This transfer of control is done by the container internally and browser / client is not involved....

What is preinitialization of a servlet? 0

What is preinitialization of a servlet?

A container does not initialize the servlets ass soon as it starts up, it initializes a servlet when it receives a request for that servlet first time. This is called lazy loading. The servlet...

What is ServletContext? 0

What is ServletContext?

ServletContext interface is a window for a servlet to view it’s environment. A servlet can use this interface to get information such as initialization parameters for the web applicationor servlet container’s version. Every web...

What is EJB QL? 0

What is EJB QL?

EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence. EJB QL is introduced in the EJB 2.0 specification....