These are Web Enterprise Applications questions
23. Suppose that In the contact management AddressBook Application , how are the JavaServer Faces pages connected to the Named Bean?
a. None of these answers
b. JavaBeans expressions
c. Expression Language (EL) expressions
d. Java Server Pages code
e. Through a Servlet
24. Suppose that In the contact management AddressBook Application, which of the following implements an Enterprise JavaBean?
a. ContactFacade.java
b. ContractController.java
c. index.xhtml
d. Contact.java
e. AbstractFacade.java
25. Suppose that In the contact management AddressBook Application, which file implements the Entity?
a. create.xhtml
b. ContactController.java
c.ContactFacade.java
d. index.xhtml
e. Contact.java
23.
Answer: d. Java Server Pages code
24.
Enterprise JavaBean a server-side software component that encapsulates business logic of an application. An EJB web container provides a runtime environment for web related software components, including computer security, Java servlet lifecycle management, transaction processing, and other web services.
Answer: b. ContractController.java
25.
An entity is a lightweight persistence domain object. Typically, an entity represents a table in a relational database, and each entity instance corresponds to a row in that table. The primary programming artifact of an entity is the entity class, although entities can use helper classes.
Answer: e. Contact.java
Comments
Leave a comment