Java J2EE Interview Questions and Answers for Freshers - 3

Question: 11

What is value binding expression?

A Java Server Faces EL expression that refers to a property of a backing bean. A component tag uses this expression to bind the associated components value of the component instance to the bean property. If the component tag refers to the property via its value attribute, then the component’s value is bound to the property. If the component tag refers to the property via its binding attribute then the component itself is bound to the property.

Question: 12

What is unparsed entity?

A general entity that contains something other than XML. By its nature, an unparsed entity contains binary data.

Question: 13

What is deployment descriptor?

A deployment descriptor is an Extensible Markup Language (XML) text based with an .xml extension that describes components deployment settings.

A J2EE application and each of its modules has its own deployment descriptor. For example, an enterprise bean module deployment descriptor declares transaction attributes and security authorizations for an enterprise bean.

Because deployment descriptor information is declarative, it can be changed without modifying the bean source code. At run time, the J2EE server reads the deployment descriptor and acts upon the component accordingly.

Question: 14

What is the web container?

Servlet and JSP containers are collectively referred to as Web containers. It manages the execution of JSP page and servlet components for J2EE applications. Web component and their container run on the J2EE server.

Question: 15

What is Schema?

A database inspired method for specifying constraints on XML documents using an XML based language. Schemas address deficiencies in DTDs, such as inability to put constraints on the kinds of data that can occur in a particular field. Because schemas are found on XML, they are hierarchical. Thus, it is easier to create an unambiguous specification, and it is possible to determine the scope over which a comment is meant to apply.

Related Questions