Java认证考试

Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly,the consultant created several dozen JSP pages that directly communicate with the database. The Squeakybusiness team has since purchased a set of b

题目

Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly,the consultant created several dozen JSP pages that directly communicate with the database. The Squeakybusiness team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the newsystem. Which pattern can the developer use to solve this problem?()

  • A、Transfer Object
  • B、Service Locator
  • C、Intercepting Filter
  • D、Business Delegate
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在J2EE中,对于我们自己设计的Bean,应该()。

A.一定要继承java.beans.Beans;

B.一定要实Runnable接口

C.一定要继承java.lang.Thead类

D.可以不继承java.beans.Beans;


参考答案:D

第2题:

Section B (18 marks)

Directions: For each blank in the following passage there are four words or phrases marked A, B, C and D. Fill in each blank with the word or phrase that best fits the context.

Behind our house is the start of a fascinating trail (小径). This trail is one of the old roads that wind through untold miles of forest. My 36 , Beans, and I walk the trail frequently. Normally, Beans sniffs alongside the trail to follow the smell of a deer track or 37 some cause known only to him.

Beans is a white dog, quite handsome and very 38 . He not only understands what

we tell him, but also often makes sounds as if he were trying to 39 back.

One morning, we took a different route, which led us to an unfamiliar trail. I was sure this trail would eventually lead us to our familiar 40 . But, no. We seemed to be far off course. After two hours, I suddenly realized that Beans probably 41 the way home. So I urged, "Beans, take me home." He ran down a new trail. But it merely led to an intersection (岔道口) of trails.

Soon it became 42 that we were getting nowhere. I began to picture the rest of the day in the 43 , without food or drink. We had walked about ten miles. But Beans seemed totally 44 . The sniffing and exploring was going well for him.

Finally, we 45 a crossroad near a highway. Lady Luck suggested I should turn left. We did and 46 reached a cottage beside a field. I knocked on the door and explained my situation to an old man. He laughed and then drove us home.

Since our adventure, I 47 that Beans probably knew all along how to get home.

He was just having too much fan exploring new trails.

36______

A. deer

B. dog

C. lady

D. man


正确答案:B

第3题:

No sooner had the man departed than the tree began dropping coffee beans ().

A.by the thousand

B.by a thousand

C.by thousands

D.by thousand


参考答案:C

第4题:

What is NOT mentioned as a part of the chocolate production process in Valbonne?

A.Cocoa beans are ground
B.Chocolate is packaged
C.Chocolate is pressed
D.Cocoa beans are roasted

答案:B
解析:
从第二封邮件细节中可以找出来。

第5题:

My I have two ______ instead of beans, please?

A、corn's ear

B、corn ears

C、ear of corns

D、ears of corn


参考答案:D

第6题:

(45) 属于Web 客户端脚本语言。

(45)

A. JavaScript.

B. RSS

C. JSP

D. Java Beans


正确答案:A

第7题:

菠菜泥的英文是( )。

A.Mashed Potatoes

B.Boiled Spinach

C.Mashedspinach

D.Boiled beans


正确答案:C

第8题:

I took only a _________ of beans with me and left.

A.hand

B.handful

C.handy

D.handed


参考答案:B

第9题:

属于Web客户端脚本语言。

A.JavaScript

B.RSS

C.JSP

D.Java Beans


正确答案:A
解析:本题考查的是动态网页编程方面的知识。动态网页编程技术分为两大类;客户端动态编程技术和服务器端动态编程技术。 JavaScript是一种基于Java语言的客户端脚本语言。RSS是简易信息聚合的缩写,是一种支持内容订阅的信息推送协议。JSP是基于Java的服务器端脚本语言。Java Beans是Java组件技术。

第10题:

关于servlet,下面那句话是错误的()

  • A、不要使用java.beans.Beans.instantiate()方法。
  • B、不再使用HttpSession时,应该尽早使用invalidate()方法释放。
  • C、任何时候都不能使用Servlet的SingleThreadModel。
  • D、不再使用JDBC资源时,应该尽早使用close()方法释放。

正确答案:C

更多相关问题