Wednesday, February 3, 2010

J2EE Interview Questions and Answers3

What is binding (JavaServer Faces technology) ?
Wiring UI components to back-end data sources such as backing bean properties.
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 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 business method ?
A method of an enterprise bean that implements the business logic or rules of an application.

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

What is caller ?
Same as caller principal.

What is caller principal ?
The principal that identifies the invoker of the enterprise bean method.

What is cascade delete ?
A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.

What is CDATA ?
A predefined XML tag for character data that means "don't interpret these characters," as opposed to parsed character data (PCDATA), in which the normal rules of XML syntax apply. CDATA sections are typically used to show examples of XML syntax.

What is certificate authority ?
A trusted organization that issues public key certificates and provides identification to the bearer.

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 comment ?
In an XML document, text that is ignored unless the parser is specifically told to recognize it.

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

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 component-managed sign-on ?
A mechanism whereby security information needed for signing on to a resource is provided by an application component.

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 container-managed persistence ?
The mechanism whereby data transfer between an entity bean's variables and a resource manager is managed by the entity bean's container.

0 comments:

Post a Comment