Chinaunix首页 | 论坛 | 博客
  • 博客访问: 210051
  • 博文数量: 317
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 2775
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-30 12:25
文章分类

全部博文(317)

文章存档

2010年(56)

2009年(38)

2008年(223)

我的朋友

分类:

2008-09-16 09:39:46

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.cn           更新时间:2008-9-11

阅读(729) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~