2012年7月31日星期二

000-256 Questions And Answers

1.A developer is working with a complex Web application. Different teams are responsible for developing the presentation, business logic, and data access. According to Core J2EE Patterns, a way to separate content generation from content presentation is for the developer to use:
A.Servlets for business logic, JSPs for presentation, and JavaBeans for data access.
B.Servlets for business logic, JSPs for presentation, and EJBs for data access.
C.Servlets for business logic, JSPs for presentation, and JDBC for data access.
D.JavaBeans for business logic, JSPs for presentation, and EJBs for data access.
Correct:D

2.Which TWO of the following describe the characteristics of a Value Object?
A.It is another name for an entity bean.
B.It is used to reduce the number of network calls between the Web container and the EJB Container.
C.It is used when more than one attribute needs to be set on an entity bean.
D.It encapsulates data of an entity bean that is modified more frequently than is read.
Correct:B C

3.Which THREE of the following statements are TRUE with regard to the benefits of partitioning a Web application using the Model-View-Controller architecture?
A.Modification and maintenance are easier due to cleaner separation of responsibilities.
B.Prototypes can be put into production quickly due to reduced need for regression testing.
C.The structure provides better support for scalability in response to increasing workload.
D.Legacy applications can be ported quickly in a platform independent manner with less design work.
E.Web page designers can work independently of the Java developers.
Correct:A C E

没有评论:

发表评论