nerdexam
Oracle

1Z0-899 · Question #90

The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. While reviewing the application, a developer realizes that in multiple places within the current…

The correct answer is C. Service Locator. See the full explanation below for the reasoning.

Question

The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. While reviewing the application, a developer realizes that in multiple places within the current application,nearly duplicate code exists that finds enterprise beans.Which pattern should be used to eliminate this duplicate code?

Options

  • ATransfer Object
  • BFront Controller
  • CService Locator
  • DIntercepting Filter
  • EBusiness Delegate
  • FModel-View-Controller

How the community answered

(26 responses)
  • A
    4% (1)
  • C
    77% (20)
  • D
    4% (1)
  • E
    12% (3)
  • F
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice