01. Java EE Model, Web Component Model, Developing Servlets and JSP
QID
Question & choices
1: Q7QT001
Mark: 1
Solution:
Which of the following Java EE services includes life-cycle, threading and remote object communication?
1, Deployment-based services
2, API-based services
3, Inherent services
4, Vendor-specific services
2: Q7QT002
Mark: 1
Solution:
Which of the following APIs exposes the internal operation of the application server and its components for control and monitoring vendor neutral management tools?
1, JAXP
2, JMX
3, JTA
4, JAAS
3: Q7QT003
Mark: 1
Solution:
Which of the following APIs provides access to object relational mapping services enabling object oriented applications to persist object state in a relational database management system?
1, Java Persistence API
2, Java EE Connector Architecture
3, Timer services
4, JMX
4: Q7QT004
Mark: 1
Solution:
Which of the following Java EE patterns is a presentation tier pattern for a component that provides ancillary functions?
1, Service Locator
2, View Helper
3, Session Facade
4, Data Access Object(DAO)
5: Q7QT005
Mark: 1
Solution:
Which of the following Java EE patterns is a business tier pattern that exposes the business functions that are implemented as coarse-grained services by the business logic components of the EJB tier?
1, Service Locator
2, View Helper
3, Session Facade
4, Data Access Object
6: Q7QT151
Mark: 1
Solution:
Which of the following code snippets refers to the JSP element type "EL expression"?
1,
2, ${requestScope.customer.name}
3,
4,
7: Q7QT152
Mark: 1
Solution:
Which of the following code snippets refers to the JSP element type "scriptlet" ?
1,
2, ${requestScope.customer.name}
3,
4,
8: Q7QT182
Mark: 1
Solution:
In a Service-to-Worker and Dispatcher View patterns, which of the following options render the data into the format required by