多选题In an n-tier application, which two invocations are typically remote, not local?()AJSP to Transfer ObjectBService Locator to JNDICController to request objectDTransfer Object to Entity BeanEController to Business Delegate

题目
多选题
In an n-tier application, which two invocations are typically remote, not local?()
A

JSP to Transfer Object

B

Service Locator to JNDI

C

Controller to request object

D

Transfer Object to Entity Bean

E

Controller to Business Delegate


相似考题
更多“多选题In an n-tier application, which two invocations are typically remote, not local?()AJSP to Transfer ObjectBService Locator to JNDICController to request objectDTransfer Object to Entity BeanEController to Business Delegate”相关问题
  • 第1题:

    A Company.com developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, because the business and resource tiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing client requests.  Which design patterns, working together, address these issues?()

    • A、 Front Controller and Transfer Object
    • B、 Front Controller and Service Locator
    • C、 Business Delegate and Transfer Object
    • D、 Business delegate and Intercepting Filter
    • E、 Model-View-Controller and Intercepting Filter

    正确答案:C

  • 第2题:

    You are designing an n-tier Java EE application. You have already decided that some of your JSPs willneed to get data from a Customer entity bean. You are trying to decide whether to use a Customer stubobject or a Transfer Object. Which two statements are true?()

    • A、The stub will increase network traffic.
    • B、The Transfer Object will decrease data staleness.
    • C、The stub will increase the logic necessary in the JSPs.
    • D、In both cases, the JSPs can use EL expressions to get data.
    • E、Only the Transfer Object will need to use a Business Delegate.

    正确答案:A,D

  • 第3题:

    A developer is designing a multi-tier web application and discovers a need to log each incoming clientrequest. Which two patterns, taken independently, provide a solution for this problem?()

    • A、Transfer Object
    • B、Service Locator
    • C、Front Controller
    • D、Intercepting Filter
    • E、Business Delegate

    正确答案:C,D

  • 第4题:

    A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?()

    • A、 Flyweight
    • B、 Transfer Object
    • C、 Service Locator
    • D、 Dispatcher View
    • E、 Business Delegate
    • F、 Model-View-Controller

    正确答案:B

  • 第5题:

    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

  • 第6题:

    The J-Web application can install the JUNOS software from which two locations?()

    • A、SDX
    • B、local PC
    • C、BSD shell
    • D、remote host

    正确答案:B,D

  • 第7题:

    单选题
    A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?()
    A

     Flyweight

    B

     Transfer Object

    C

     Service Locator

    D

     Dispatcher View

    E

     Business Delegate

    F

     Model-View-Controller


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

  • 第8题:

    多选题
    You are designing an n-tier Java EE application. You have already decided that some of your JSPs willneed to get data from a Customer entity bean. You are trying to decide whether to use a Customer stubobject or a Transfer Object. Which two statements are true?()
    A

    The stub will increase network traffic.

    B

    The Transfer Object will decrease data staleness.

    C

    The stub will increase the logic necessary in the JSPs.

    D

    In both cases, the JSPs can use EL expressions to get data.

    E

    Only the Transfer Object will need to use a Business Delegate.


    正确答案: A,E
    解析: 暂无解析

  • 第9题:

    多选题
    In an n-tier application, which two invocations are typically remote, not local?()
    A

    JSP to Transfer Object

    B

    Service Locator to JNDI

    C

    Controller to request object

    D

    Transfer Object to Entity Bean

    E

    Controller to Business Delegate


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

  • 第10题:

    单选题
    A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? ()
    A

     Transfer Object

    B

     Service Locator

    C

     Front Controller

    D

     Intercepting Filter

    E

     Business Delegate

    F

     Model-View-Controller


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

  • 第11题:

    多选题
    Which two are characteristics of the Transfer Object design pattern?()
    A

    It reduces network traffic by collapsing multiple remote requests into one.

    B

    It increases the complexity of the remote interface by removing coarse-grained methods.

    C

    It increases the complexity of the design due to remote synchronization and version control issues.

    D

    It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.


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

  • 第12题:

    单选题
    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


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

  • 第13题:

    A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? ()

    • A、 Transfer Object
    • B、 Service Locator
    • C、 Front Controller
    • D、 Intercepting Filter
    • E、 Business Delegate
    • F、 Model-View-Controller

    正确答案:C

  • 第14题:

    A developer is designing a multi-tier application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, the application needs to find, in a transparent manner, the heterogeneous business components used to service the client’s requests. Which design patterns, working together, address these issues?()

    • A、 Business Delegate and Transfer Object
    • B、 Business Delegate and Service Locator
    • C、 Front Controller and Business Delegate
    • D、 Intercepting Filter and Transfer Object
    • E、 Model-View-Controller and Intercepting Filter

    正确答案:B

  • 第15题:

    Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()

    • A、Add attributes to the session object.
    • B、Add attributes on the request object.
    • C、Add parameters to the request object.
    • D、Use the pageContext object to add request attributes.
    • E、Add parameters to the JSP’s URL when generating the request dispatcher.

    正确答案:B,E

  • 第16题:

    A developer is designing a web application that makes many fine-grained remote data requests for eachclient request. During testing, the developer discovers that the volume of remote requests significantlydegrades performance of the application. Which design pattern provides a solution for this problem?()

    • A、Flyweight
    • B、Transfer Object
    • C、Service Locator
    • D、Dispatcher View
    • E、Business Delegate
    • F、Model-View-Controller

    正确答案:B

  • 第17题:

    Which two are characteristics of the Transfer Object design pattern?()

    • A、It reduces network traffic by collapsing multiple remote requests into one.
    • B、It increases the complexity of the remote interface by removing coarse-grained methods.
    • C、It increases the complexity of the design due to remote synchronization and version control issues.
    • D、It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.

    正确答案:A,C

  • 第18题:

    A developer is designing a multi-tier web application and discovers a need to hide the details of establishingand maintaining remote communications from the client. In addition, the application needs to find,in a transparent manner,the heterogeneous business components used to service the client’s requests. Which design patterns, working together, address these issues?()

    • A、Business Delegate and Transfer Object
    • B、Business Delegate and Service Locator
    • C、Front Controller and Business Delegate
    • D、Intercepting Filter and Transfer Object

    正确答案:B

  • 第19题:

    多选题
    A developer is designing a multi-tier web application and discovers a need to log each incoming clientrequest. Which two patterns, taken independently, provide a solution for this problem?()
    A

    Transfer Object

    B

    Service Locator

    C

    Front Controller

    D

    Intercepting Filter

    E

    Business Delegate


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

  • 第20题:

    单选题
    A developer is designing a multi-tier web application and discovers a need to hide the details of establishingand maintaining remote communications from the client. In addition, because the business and resourcetiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing clientrequests. Which design patterns, working together, address these issues?()
    A

    Front Controller and Transfer Object

    B

    Front Controller and Service Locator

    C

    Business Delegate and Transfer Object

    D

    Business Delegate and Intercepting Filter


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

  • 第21题:

    单选题
    A developer is designing a multi-tier application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, the application needs to find, in a transparent manner, the heterogeneous business components used to service the client’s requests. Which design patterns, working together, address these issues?()
    A

     Business Delegate and Transfer Object

    B

     Business Delegate and Service Locator

    C

     Front Controller and Business Delegate

    D

     Intercepting Filter and Transfer Object

    E

     Model-View-Controller and Intercepting Filter


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

  • 第22题:

    单选题
    A developer is designing a multi-tier web application and discovers a need to hide the details of establishingand maintaining remote communications from the client. In addition, the application needs to find,in a transparent manner,the heterogeneous business components used to service the client’s requests. Which design patterns, working together, address these issues?()
    A

    Business Delegate and Transfer Object

    B

    Business Delegate and Service Locator

    C

    Front Controller and Business Delegate

    D

    Intercepting Filter and Transfer Object


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

  • 第23题:

    多选题
    Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()
    A

    Add attributes to the session object.

    B

    Add attributes on the request object.

    C

    Add parameters to the request object.

    D

    Use the pageContext object to add request attributes.

    E

    Add parameters to the JSP’s URL when generating the request dispatcher.


    正确答案: E,A
    解析: 暂无解析

  • 第24题:

    单选题
    A Company.com developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, because the business and resource tiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing client requests.  Which design patterns, working together, address these issues?()
    A

     Front Controller and Transfer Object

    B

     Front Controller and Service Locator

    C

     Business Delegate and Transfer Object

    D

     Business delegate and Intercepting Filter

    E

     Model-View-Controller and Intercepting Filter


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