nerdexam
IBM

LOT-404 · Question #83

Dale is writing an adapter in an IBM Worklight application. Dale wants to execute a method in a Java class to handle some complex logic. How does a Worklight server-side adapter interact with Java…

The correct answer is D. A Java class packaged in a Worklight application can be referenced in adapter JavaScript using the fully. See the full explanation below for the reasoning.

Question

Dale is writing an adapter in an IBM Worklight application. Dale wants to execute a method in a Java class to handle some complex logic. How does a Worklight server-side adapter interact with Java code?

Options

  • AWorklight provides a Java adapter type that is specifically used to execute Java code.
  • BSpecify <procedure class="fully_qualified_class_name" method="method_to_execute" /> in the adapter
  • CWorklight adapters are written in Java code; simply import a custom class into the adapter Java and use
  • DA Java class packaged in a Worklight application can be referenced in adapter JavaScript using the fully

How the community answered

(51 responses)
  • A
    12% (6)
  • B
    2% (1)
  • C
    6% (3)
  • D
    80% (41)

Community Discussion

No community discussion yet for this question.

Full LOT-404 Practice