 高质量和高价值的 000-256 题库.100%通过000-256认证考试 Killtest 实行“一次不过全额退款”承诺。如果您购买了000-256考题,只要不是 首次通过,凭盖有PROMETRIC或VUE考试中心钢印的考试成绩单,100%退还您购买 000-256 的全部费用 ,绝对保证您的利益不受到任何的损失. PDF格式全真考题参考DEMO 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 4.Which of the following HTTP session management guidelines is the BEST approach to improve performance? A.Remove all unused objects from the HttpSession when they go out of scope. B.Maintain all data received from the database in the HTTP Session in order to avoid retrieving it again. C.Maintain all of the session state in a single object and set the object in the HTTP Session. D.For each JSP page in the application, use the <%@ page session="true"%> directive. Correct:A 5.Users of a web application can retrieve account and profile information from two different web pages, but there are significant network delays when data is retrieved. What is the BEST strategy for improving the performance of this application? A.Create a Value Object on the server that stores both personal and account information. B.Use JSPs to streamline data access on the two pages. C.Add more servers to provide load balancing for multiple requests. D.Use a JDBC Type IV driver to retrieve data. Correct:A 6.Which TWO of the following files are generated when using the Web Service wizard to create a Web service from a JavaBean? A.WSIL file B.WSDL file C.webservices.xml D.webservicesclient.xml Correct:B C |