Most Asked J2EE Interview Questions and Answers

J2EE Interview Questions and Answers most commonly asked for Experienced PDF, Freshers candidates for Employment.

What is context attribute

An object bound into the context associated with a servlet.

What is deployer

A person who installs J2EE modules and applications into an operational environment.

What are the four types of J2EE modules?

1. Application client module

2. Web module

3. Enterprise JavaBeans module

4. Resource adapter module

What is the web container?

Servlet and JSP containers are collectively referred to as Web containers. It manages the execution of JSP page and servlet components for J2EE applications. Web components and their container run on the J2EE server.

What is bean-managed persistence

The mechanism whereby data transfer between an entity bean’s variables and a resource manager is managed by the entity bean.

What is client-certificate authentication

An authentication mechanism that uses HTTP over SSL, in which the server and, optionally, the client authenticate each other with a public key certificate

that conforms to a standard that is defined by X.509 Public Key Infrastructure.

What is context root

A name that gets mapped to the document root of a Web application.

What is deployment

The process whereby software is installed into an operational environment.

What are types of J2EE clients?

Following are the types of J2EE clients:

? Applets

? Application clients

? Java Web Start-enabled rich clients, powered by Java Web Start technology.

? Wireless clients, based on Mobile Information Device Profile (MIDP) technology.

What is bean-managed transaction

A transaction whose boundaries are defined by an enterprise bean.

What is comment

In an XML document, text that is ignored unless the parser is specifically told to recognize it.

What is conversational state

The field values of a session bean plus the transitive closure of the objects reachable from the bean’s fields. The transitive closure of a bean is defined in

terms of the serialization protocol for the Java programming language, that is, the fields that would be stored by serializing the bean instance.

What is deployment descriptor?

A deployment descriptor is an Extensible Markup Language (XML) text-based file with an .xml extension that describes a component’s deployment settings. A J2EE application and each of its modules has its own deployment descriptor. For example, an enterprise bean module deployment descriptor declares transaction attributes and

security authorizations for an enterprise bean. Because deployment descriptor information is declarative, it can be changed without modifying the bean source code. At run time, the J2EE server reads the deployment descriptor and acts upon the component accordingly.

What does application client module contain?

The application client module contains:

–class files,

–an application client deployment descriptor.

Application client modules are packaged as JAR files with a .jar extension.

What is binding (JavaServer Faces technology)

Wiring UI components to back-end data sources such as backing bean properties.

What is commit

The point in a transaction when all updates to any resources involved in the transaction are made permanent.

What is CORBA

Common Object Request Broker Architecture. A language-independent distributed object model specified by the OMG.

What is destination

A JMS administered object that encapsulates the identity of a JMS queue or topic. See point-to-point messaging system, publish/subscribe messaging system.

What does web module contain?

The web module contains:

–JSP files,

–class files for servlets,

–GIF and HTML files, and

–a Web deployment descriptor.

Web modules are packaged as JAR files with a .war (Web ARchive) extension.

What is binding (XML)

Generating the code needed to process a well-defined portion of XML data.


Popular posts from this blog

TOP Agile Testing Interview Questions and Answers

Latest Agile Testing Interview Questions and Answers

Most Asked ADO.NET Interview Questions and Answers