Saturday, January 19, 2008

J2EE Latest papres

J2EE Interview questions and answers

41. What is commit


 

The point in a transaction when all updates to any

resources involved in the transaction are made

permanent.


 

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


 

43. What is component-managed sign-on


 

A mechanism whereby security information needed for

signing on to a resource is provided by an application

component.


 

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


 

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


 

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


 

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


 

48. What is container-managed sign-on


 

The mechanism whereby security information needed for

signing on to a resource is supplied by the container.


 

49. What is container-managed transaction


 

A transaction whose boundaries are defined by an EJB

container. An entity bean must use container-managed

transactions.


 

50. What is content


 

In an XML document, the part that occurs after the

prolog, including the root element and everything it

contains.