nerdexam
Oracle

1Z0-860 · Question #71

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. 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.
  • 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.

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    7% (2)
  • C
    14% (4)
  • D
    75% (21)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice