nerdexam
GIAC

GSSP-JAVA · Question #19

Mark works as a Programmer for InfoTech Inc. He develops a session bean class named accountService. Which of the following rules must be conformed by the session bean class? Each correct answer…

The correct answer is B. It must implement the business methods defined in the business interface. C. It can implement any optional business method annotated by the @Remove annotation. E. It requires helper classes to meet the needs of an application. See the full explanation below for the reasoning.

Question

Mark works as a Programmer for InfoTech Inc. He develops a session bean class named accountService. Which of the following rules must be conformed by the session bean class? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AIt can be used without the @Stateful or @Stateless annotation.
  • BIt must implement the business methods defined in the business interface.
  • CIt can implement any optional business method annotated by the @Remove annotation.
  • DIt must have a public constructor that takes a string as its parameter.
  • EIt requires helper classes to meet the needs of an application.

How the community answered

(24 responses)
  • A
    8% (2)
  • B
    75% (18)
  • D
    17% (4)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice