J2EE Interview Questions and Answers
Question - 21 : - What is backing bean ?
Answer - 21 : - 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.
Question - 22 : - What is basic authentication ?
Answer - 22 : - 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.
Question - 23 : - What is bean-managed persistence ?
Answer - 23 : - The mechanism whereby data transfer between an entity bean's variables and a resource manager is managed by the entity bean.
Question - 24 : - What is bean-managed transaction ?
Answer - 24 : - A transaction whose boundaries are defined by an enterprise bean.
Question - 25 : - What is binding (XML) ?
Answer - 25 : - Generating the code needed to process a well-defined portion of XML data.
Question - 26 : - What is binding (JavaServer Faces technology) ?
Answer - 26 : - Wiring UI components to back-end data sources such as backing bean properties.
Question - 27 : - What is build file ?
Answer - 27 : - 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.
Question - 28 : - What is business logic ?
Answer - 28 : - 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.
Question - 29 : - What is business method ?
Answer - 29 : - A method of an enterprise bean that implements the business logic or rules of an application.
Question - 30 : - What is callback methods ?
Answer - 30 : - Component methods called by the container to notify the component of important events in its life cycle.