Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Blog

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....

Can you control when passivation occurs? 0

Can you control when passivation occurs?

The developer, according to the specification, cannot directly control when passivation occurs. Although for Stateful Session Beans, the container cannot passivate an instance that is inside a transaction. So using transactions can be a...

How EJB Invocation happens? 0

How EJB Invocation happens?

Step 1: Retrieve Home Object reference from Naming Service via JNDI. step 2: Return Home Object reference to the client. step 3: Create me a new EJB Object through Home Object interface. step 4:...