Question 21

Every EJB class file has

  1. AOne accompanying interface and one XML file
  2. BOne accompanying interface and two XML files
  3. CTwo accompanying interfaces and one XML file
  4. DTwo accompanying interfaces and two XML files
Show answerHide answer

Correct answer: (C) Two accompanying interfaces and one XML file

Explanation

An EJB (EJB 2.x) bean class comes with two interfaces, the home interface and the remote (or component) interface, plus one XML deployment descriptor (ejb-jar.xml).

From DSSSB TGT Computer Science Practice Set 3

This is question 21 of DSSSB TGT Computer Science Practice Set 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.