Pass4side SUN 310-052考试题库分享(1-5)

1. What are the three primary roles in a web service interaction? (Choose three.)
A. Broker
B. Facade
C. Provider
D. Decorator
E. Requestor
F. Interceptor
Answer: ACE
2. A stock trading company is writing a new application for stock market forecasting. A significant portion of the
work required by the business logic involves navigating through the persistent object model. As lead architect on
this project, you have chosen JPA over EJB2 entity beans to implement these persistent objects. You have done
this to maximize performance when navigating through the model. Why does JPA offer better performance for this
task?
A. JPA guarantees referential integrity at the object level.
B. JPA allows the application to specify lazy or eager retrievals.
C. JPA simplifies the source code that implements the object model.
D. The guaranteed referential integrity in EJB2 entity beans is expensive.
Answer: B
3. A developer creates a Java web service to be used by consumers in an SOA. This SOA uses a UDDI service
registry. How can the developer make the new service available to consumers?
A. deploy to the registry using JAXR
B. publish to the registry using JAXR
C. query the registry using JAX-RPC
D. target the registry using JAX-RPC
Answer: B
4. With the release of a new product line, there has been a significant increase in the volume of transactions on
your web site. You need to scale your application and manage session failover. What is the best option for
scalability?
A. add additional web servers and application servers
B. introduce a High Availability pair and utilize sticky sessions
C. add additional application servers and implement DNS round robin
D. add additional application servers and use clustered HttpSession
Answer: D
5. You are asked to architect an SOA solution that leverages Java web services. The architecture needs to be
flexible and allow for the SOAP 1.1, SOAP 1.2, and REST implementations. Which Java EE technology should
you use?
A. JAXP
B. JAXB
C. JAX-WS
D. JAX-RPC
Answer: C
本文考试题库摘自pass4side         更新时间:2008-9-11

你可能感兴趣的:(sun,休闲,考试题库,Pass4side,310-052)