nerdexam
Oracle

1Z0-899 · Question #92

You are designing an n-tier Java EE application. You have already decided that some of your JSPs will need to get data from a Customer entity bean. You are trying to decide whether to use a Customer…

The correct answer is A. The stub will increase network traffic. D. In both cases, the JSPs can use EL expressions to get data. See the full explanation below for the reasoning.

Question

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

Options

  • AThe stub will increase network traffic.
  • BThe Transfer Object will decrease data staleness.
  • CThe stub will increase the logic necessary in the JSPs.
  • DIn both cases, the JSPs can use EL expressions to get data.
  • EOnly the Transfer Object will need to use a Business Delegate.
  • FUsing the stub approach allows you to design the application without using a Service Locator.

How the community answered

(65 responses)
  • A
    75% (49)
  • B
    6% (4)
  • C
    3% (2)
  • E
    2% (1)
  • F
    14% (9)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice