nerdexam
Oracle

1Z0-860 · Question #206

A developer wants to create a business interface for both local and remote usage. For performance reasons the remote interface should NOT be called by a client in the same JVM. Which statement is…

The correct answer is D. The business methods are defined in a common interface. It is extended by two interfaces, annotated. See the full explanation below for the reasoning.

Question

A developer wants to create a business interface for both local and remote usage. For performance reasons the remote interface should NOT be called by a client in the same JVM. Which statement is required to accomplish this, assuming there is no deployment descriptor?

Options

  • AThe business methods are defined in one interface which must be annotated with both @Local and
  • BThe business methods are defined twice in one interface. One method is annotated with @Local and
  • CThe business methods are defined in a common interface by two other interfaces which are annotated
  • DThe business methods are defined in a common interface. It is extended by two interfaces, annotated

How the community answered

(27 responses)
  • A
    15% (4)
  • B
    4% (1)
  • C
    7% (2)
  • D
    74% (20)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice