Friday, June 27, 2008

J2EE Interview Questions Answers Vol - 2

Q. What is "application client" ?
A. A first-tier J2EE client component that executes in its own Java virtual machine. Application clients have access to some J2EE platform APIs.

Q. What is "application client container" ?
A. A container that supports application client components.

Q. What is "application client module" ?
A. A software unit that consists of one or more classes and an application client deployment descriptor.

Q. What is "application component provider" ?
A. A vendor that provides the Java classes that implement components' methods, JSP page definitions, and any required deployment descriptors.

Q. What is "application configuration resource file" ?
A. An XML file used to configure resources for a Java Server Faces application, to define navigation rules for the application, and to register converters, Validator, listeners, renders, and components with the application.

Q. What is "archiving" ?
A. The process of saving the state of an object and restoring it.

Q. What is "asant" ?
A. A Java-based build tool that can be extended using Java classes. The configuration files are XML-based, calling out a target tree where various tasks get executed.

Q. What is "attribute"?
A. A qualifier on an XML tag that provides additional information.

Q. What is authentication ?
A. The process that verifies the identity of a user, device, or other entity in a computer system, usually as a prerequisite to allowing access to resources in a system. The Java servlet specification requires three types of authentication-basic, form-based, and mutual-and supports digest authentication.

Q. What is authorization ?
A. The process by which access to a method or resource is determined. Authorization depends on the determination of whether the principal associated with a request through authentication is in a given security role. A security role is a logical grouping of users defined by the person who assembles the application. A deployer maps security roles to security identities. Security identities may be principals or groups in the operational environment.

Q. What is authorization constraint ?
A. An authorization rule that determines who is permitted to access a Web resource collection.

Q. What is B2B ?
A. B2B stands for Business-to-business.

Q. What is backing bean ?
A. A JavaBeans component that corresponds to a JSP page that includes JavaServer Faces components. The backing bean defines properties for the components on the page and methods that perform processing for the component. This processing includes event handling, validation, and processing associated with navigation.

Q. What is basic authentication ?
A. An authentication mechanism in which a Web server authenticates an entity via a user name and password obtained using the Web application's built-in authentication mechanism.

Q. What is bean-managed persistence ?
A. The mechanism whereby data transfer between an entity bean's variables and a resource manager is managed by the entity bean.

Q. What is bean-managed transaction ?
A. A transaction whose boundaries are defined by an enterprise bean.

Q. What is binding (XML) ?
A. Generating the code needed to process a well-defined portion of XML data.

No comments: