A Company.com developer is designing the presentation tier for a web application that relies on a complex session bean. The session bean is still being developed and the APIs for are NOT finalized. Any changes to the session bean API directly impacts the

题目

A Company.com developer is designing the presentation tier for a web application that relies on a complex session bean. The session bean is still being developed and the APIs for are NOT finalized. Any changes to the session bean API directly impacts the development of the presentation tier.  Which design pattern provides a means to manage the uncertainty in the API?()

  • A、 View Helper
  • B、 Front Controller
  • C、 Composite View
  • D、 Intercepting Filter
  • E、 Business Delegate
  • F、 Chain of Responsibility

相似考题
参考答案和解析
正确答案:E
更多“A Company.com developer is designing the presentation tier for a web application that relies on a complex session bean. The session bean is still being developed and the APIs for are NOT finalized. Any changes to the session bean API directly impacts the ”相关问题
  • 第1题:

    A developer is designing the presentation tier for a web application that relies on a complex session bean.The session bean is still being developed and the APIs for it are NOT finalized. Any changes to the sessionbean API directly impacts the development of the presentation tier.  Which design pattern provides a meansto manage the uncertainty in the API?()

    • A、View Helper
    • B、Front Controller
    • C、Composite View
    • D、Intercepting Filter
    • E、Business Delegate

    正确答案:E

  • 第2题:

    A developer is designing a web application which extensively uses EJBs and JMS.  The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code.  Which J2EE design pattern provides a solution for this problem?()

    • A、 Command
    • B、 Transfer object
    • C、 Service locator
    • D、 Session Façade
    • E、 Business delegate
    • F、 Data access object

    正确答案:C

  • 第3题:

    OSI参考模型有哪些层,按顺序()

    • A、Application、session、transport、network、physical、physical、datalink
    • B、Application,presentation,session,network,transport,datalink,physical
    • C、Application,presentation,session,transport,network,datalink,physical
    • D、Application,session,transport,physical、network、physical、datalink

    正确答案:C

  • 第4题:

    下列哪个作用范围的Bean,被Web服务目录下所有用户共享,任何客户对Bean属性的修改都会影响到其他用户。()

    • A、application
    • B、request
    • C、page
    • D、session

    正确答案:A

  • 第5题:

    session bean有stateless和stateful两种状态类型,下面对stateless描述正确选择是()。

    • A、无状态session bean可以维持客户端的对话状态
    • B、当客户端调用无状态session bean的方法时session bean的实例变量仅在调用期间内包含状态
    • C、stateless session bean可以实现Web服务,但其他类型的企业bean不能

    正确答案:A

  • 第6题:

    A developer is designing a web application that must support multiple interfaces,including: an XML web service for B2B HTML for web-based clients WML for wireless customers. Which designpattern provides a solution for this problem?()

    • A、Session Facade
    • B、Business Delegate
    • C、Data Access Object
    • D、Model-View-Controller
    • E、Chain of Responsibility

    正确答案:D

  • 第7题:

    A developer is designing the presentation tier for a web application which requires a centralized requesthandling to complete common processing required by each request. Which design pattern provides asolution to this problem?()

    • A、Remote Proxy
    • B、Front Controller
    • C、Service Activator
    • D、Intercepting Filter
    • E、Business Delegate

    正确答案:B

  • 第8题:

    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost.  What should you do?()

    • A、Use the InProc Session Management mode to store session data in the ASP.NET worker process. 
    • B、Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database. 
    • C、Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm. 
    • D、Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm. 

    正确答案:B

  • 第9题:

    单选题
    session bean有stateless和stateful两种状态类型,下面对stateless描述正确选择是()。
    A

    无状态session bean可以维持客户端的对话状态

    B

    当客户端调用无状态session bean的方法时session bean的实例变量仅在调用期间内包含状态

    C

    stateless session bean可以实现Web服务,但其他类型的企业bean不能


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    A Company.com developer is designing the presentation tier for a web application that relies on a complex session bean. The session bean is still being developed and the APIs for are NOT finalized. Any changes to the session bean API directly impacts the development of the presentation tier.  Which design pattern provides a means to manage the uncertainty in the API?()
    A

     View Helper

    B

     Front Controller

    C

     Composite View

    D

     Intercepting Filter

    E

     Business Delegate

    F

     Chain of Responsibility


    正确答案: F
    解析: 暂无解析

  • 第11题:

    单选题
    A developer is designing the presentation tier for a web application which requires a centralized requesthandling to complete common processing required by each request. Which design pattern provides asolution to this problem?()
    A

    Remote Proxy

    B

    Front Controller

    C

    Service Activator

    D

    Intercepting Filter

    E

    Business Delegate


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    A developer is designing a web application that must support multiple interfaces, including:   • an XML web service for B2B • HTML for web-based clients • WML for wireless customers   Which design pattern provides a solution for this problem?( )
    A

     Session Façade

    B

     Business Delegate

    C

     Data Access Object

    D

     Model-View-Controller

    E

     Chain of Responsibility


    正确答案: B
    解析: 暂无解析

  • 第13题:

    A developer is designing a web application that must verify for each request: The originating request is froma trusted network. The client has a valid session.The client has been authenticated. Which design pattern provides a solution in this situation?()

    • A、Transfer Object
    • B、Session Facade
    • C、Intercepting Filter
    • D、Template Method
    • E、Model-View-Controller

    正确答案:C

  • 第14题:

    EJB包括的类型有()

    • A、CMP
    • B、BMP
    • C、Java Bean
    • D、Stateful Session Bean

    正确答案:A,B,D

  • 第15题:

    下列哪个作用范围的bean,请求响应完成则该Bean即被释放,不同客户的Bean互不相同。()

    • A、application
    • B、request
    • C、page
    • D、session

    正确答案:B

  • 第16题:

    客户在某个页面修改session作用范围Bean的属性,在其他页面,该Bean的属性会发生同样的变化,不同客户之间的Bean也发生变化。


    正确答案:错误

  • 第17题:

    A developer is designing a web application which extensively uses EJBs and JMS. The developer finds thatthere is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further,because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides asolution for this problem?()

    • A、Command
    • B、Transfer Object
    • C、Service Locator
    • D、Session Facade
    • E、Business Delegate

    正确答案:C

  • 第18题:

    Which the statement is true about web container session management()?

    • A、 Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
    • B、 To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
    • C、 If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
    • D、 The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.

    正确答案:C

  • 第19题:

    A developer is designing a web application that must support multiple interfaces, including:   • an XML web service for B2B • HTML for web-based clients • WML for wireless customers   Which design pattern provides a solution for this problem?( )

    • A、 Session Façade
    • B、 Business Delegate
    • C、 Data Access Object
    • D、 Model-View-Controller
    • E、 Chain of Responsibility

    正确答案:D

  • 第20题:

    单选题
    有状态Session Bean和无状态Session Bean的区别说法正确的是()
    A

    无状态Session Bean要保存客户端的状态,同客户端是一对一

    B

    有状态Session Bean要保存客户端的状态,同客户端是一对一

    C

    他们都要保存客户端的状态,同客户端是一对一

    D

    以上说法都不对


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    Which statement is true about web container session management?()
    A

    Access to session-scoped attributes is guaranteed to be thread-safe by the web container.

    B

    To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.

    C

    If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.

    D

    The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.


    正确答案: B
    解析: 暂无解析

  • 第22题:

    判断题
    客户在某个页面修改session作用范围Bean的属性,在其他页面,该Bean的属性会发生同样的变化,不同客户之间的Bean也发生变化。
    A

    B


    正确答案:
    解析: 暂无解析

  • 第23题:

    单选题
    A developer is designing a web application that must verify for each request: The originating request is froma trusted network. The client has a valid session.The client has been authenticated. Which design pattern provides a solution in this situation?()
    A

    Transfer Object

    B

    Session Facade

    C

    Intercepting Filter

    D

    Template Method

    E

    Model-View-Controller


    正确答案: C
    解析: 暂无解析