2008年9月15日星期一

Pass4side SUN 310-052考试题库分享(6-10)

6. You are architecting an online ordering application with these requirements:Users access the system over the Internet using HTML.An email message is sent to the user confirming the order.Users must log in and are validated using LDAP.The product catalog is stored in a relational database.All orders are logged to the internal fulfillment system.Orders must not be lost.Which Java EE technology should be used to send orders to the fulfillment system?A. JNDIB. JMSC. JAX-WSD. RMI-IIOPAnswer: B
7. An online sporting goods store’s web application uses HTTPSession to store shopping carts. When theapplication is initially deployed, the business plan predicts only a few customers will access the site. Over time,the store projects a steady increase in volume.The deployment plan calls for a single web container in the initial deployment. As demand increases, the plancalls for multiple web containers on separate hardware with clustered HTTPSession objects.Which two principles will help the application meet the requirements and optimize performance? (Choose two.)A. The application should store as much as possible in HTTPSession objects.B. The application should NOT make frequent updates to HTTPSession objects.C. The application should make coarse-grained updates to HTTPSession objects.D. The application should create new HTTPSession objects instead of updating existing objects.Answer: BC
8. You are writing a utility that searches for existing web services provided by large companies through UDDI.Your web site allows the user to input search criteria using event-driven, state-managed GUI screens, performs thesearch, and displays them in a formatted HTML page. Which technologies would you use for this application?A. JSP and JAXBB. JSF and JAXRC. JSF and JAX-WSD. JSP and JAX-WSAnswer: B
9. A company has a web service that provides the most recent price for stocks, mutual funds, and commodities.The company has the only web service that allows a person to check prices on all three financial assets with onecall. Its system does not store this information but sends individual calls to each of the primary vendors for anasset and then aggregates the response to the requester. The company has committed to support a non-functionalrequirement (NFR) for performance that states it must process all requests within three seconds and each of thethree vendors is obligated to support the NFR as dictated by the company. Where, in the message flow, is itappropriate to measure whether all the NFRs are met?A. when a request is received and a response is sent to the requesterB. when a request is received, first call to vendor, last response from vendors, response is sent to a requesterC. when a requester sends a request, the request is received, each call to vendor, each response from vendor,requester receives responseD. when a request is received, each call to vendor, each response from a vendor, a response is sent to a requesterAnswer: D
10. A Java web component, EJB component, or another web service can be a client to a web service. Which JavaAPI can the client use to access the web service through a Service Endpoint Interface?A. JAXBB. JAXRC. JDBCD. JAX-WSAnswer: D
更多最新考试信息可登陆www.pass4side.cn网站查看!本文考试题库摘自pass4side.cn 更新时间:2008-9-11

没有评论: