Latest J2EE Interview Questions and Answers

Read Top J2EE Interview Questions and Answers Experienced, Freshers for Job Interview Quiz with Solutions.

What is component contract

The contract between a J2EE component and its container. The contract includes life-cycle management of the component, a context interface that the instance uses to obtain various information and services from its container, and a list of services that every container must provide for its components.

What is create method

A method defined in the home interface and invoked by a client to create an enterprise bean.

What is digest authentication

An authentication mechanism in which a Web application authenticates itself to a Web server by sending the server a message digest along with its HTTP request message. The digest is computed by employing a one-way hash algorithm to a concatenation of the HTTP request message and the client’s password. The digest is typically much smaller than the HTTP request and doesn’t contain the password.

What is “applet container”

A container that includes support for the applet programming model.

What is build file

The XML file that contains one or more asant targets. A target is a set of tasks you want to be executed.

When starting asant, you can select which targets you want to have executed. When no target is given, the project’s default target is executed.

What is component-managed sign-on

A mechanism whereby security information needed for signing on to a resource is provided by an application component.

What is credentials

The information describing the security attributes of a principal.

What is distributed application

An application made up of distinct components running in separate runtime environments, usually on different platforms connected via a network. Typical distributed

applications are two-tier (client-server), three-tier (client-middleware-server), and multitier (client-multiple middleware-multiple servers).

What is “applet”

A J2EE component that typically executes in a Web browser but can execute in a variety of other applications or devices that support the applet programming model.

What is business logic

The code that implements the functionality of an application. In the Enterprise JavaBeans architecture, this logic is implemented by the methods of an enterprise bean.

What is connector

A standard extension mechanism for containers that provides connectivity to enterprise information systems. A connector is specific to an enterprise information system and consists of a resource adapter and application development tools for enterprise information system connectivity. The resource adapter is plugged in to a container through its support for system-level contracts defined in the Connector architecture.

What is CSS

Cascading style sheet. A stylesheet used with HTML and XML documents to add a style to all elements marked with a particular tag, for the direction of browsers

or other presentation mechanisms.

What is document

In general, an XML structure in which one or more elements contains text intermixed with subelements.

What is a thin client?

A thin client is a lightweight interface to the application that does not have such operations like query databases, execute complex business rules, or connect to legacy applications.

What is business method

A method of an enterprise bean that implements the business logic or rules of an application.

What is Connector architecture

An architecture for integration of J2EE products with enterprise information systems. There are two parts to this architecture: a resource adapter provided by an

enterprise information system vendor and the J2EE product that allows this resource adapter to plug in.

This architecture defines a set of contracts that a resource adapter must support to plug in to a J2EE product-for example, transactions, security, and resource management.

What is CTS

Compatibility test suite. A suite of compatibility tests for verifying that a J2EE product complies with the J2EE platform specification.

What is Enterprise JavaBeans (EJB) container?

It manages the execution of enterprise beans for J2EE applications.

Enterprise beans and their container run on the J2EE server.

What is Applet container?

IManages the execution of applets. Consists of a Web browser and Java Plugin running on the client together.

What is callback methods

Component methods called by the container to notify the component of important events in its life cycle.

What is container

An entity that provides life-cycle management, security, deployment, and runtime services to J2EE components. Each type of container (EJB, Web, JSP, servlet, applet, and application client) also provides component-specific services.

What is data

The contents of an element in an XML stream, generally used when the element does not contain any subelements. When it does, the term content is generally used. When the only text in an XML structure is contained in simple elements and when elements that have subelements have little or no data mixed in, then that structure is often thought of as XML data, as opposed to an XML document.

What is JAXP?

JAXP stands for Java API for XML. XML is a language for representing and describing text-based data which can be read and handled by any program or tool that uses XML APIs. It provides standard services to determine the type of an arbitrary piece of data, encapsulate access to it, discover the operations available on it, and create the appropriate JavaBeans component to perform those operations.

What is authorization constraint

An authorization rule that determines who is permitted to access a Web resource collection.


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