Wednesday, February 3, 2010

J2EE Interview Questions and Answers4

What is container-managed sign-on ?
The mechanism whereby security information needed for signing on to a resource is supplied by the container.
What is container-managed transaction ?
A transaction whose boundaries are defined by an EJB container. An entity bean must use container-managed transactions.

What is content ?
In an XML document, the part that occurs after the prolog, including the root element and everything it contains. 


What is context attribute ?
An object bound into the context associated with a servlet.

What is context root ?
A name that gets mapped to the document root of a Web application.

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 CORBA ?
Common Object Request Broker Architecture. A language-independent distributed object model specified by the OMG.

What is create method ?
A method defined in the Interview Questions - Home interface and invoked by a client to create an enterprise bean.

What is credentials ?
The information describing the security attributes of a principal.

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 CTS ?
Compatibility test suite. A suite of compatibility tests for verifying that a J2EE product complies with the J2EE platform specification.

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 DDP ?
Document-driven programming. The use of XML to define applications.

What is declaration ?
The very first thing in an XML document, which declares it as XML. The minimal declaration is . The declaration is part of the document prolog.

What is declarative security ?
Mechanisms used in an application that are expressed in a declarative syntax in a deployment descriptor.

What is delegation ?
An act whereby one principal authorizes another principal to use its identity or privileges with some restrictions.

What is deployer ?
A person who installs J2EE modules and applications into an operational environment.

What is deployment ?
The process whereby software is installed into an operational environment.

0 comments:

Post a Comment