Here is 3rd Question of Sun's Free assessment. According to them correct answer is 2.
3. An enterprise bean packaged in an ejb-jar returns instances of a Television class as a result for one of its business methods. The developer has been asked to create an associated ejb-client JAR file. What files must be placed in this ejb-client JAR for it to be valid?
1. The ejb-jar file (by inclusion or by reference) 2. The Television class (by inclusion or by reference) 3. Stubs of all enterprise classes referenced by the ejb-client 4. The DTDs and schemas of all XML messages used by the client
Can someone explain how client call the business method without business interfaces..
Joined: Aug 13, 2008
when they say ejb-client JAR for a Bean then it is implicit that it contains all the STUB and Interfaces that are related to the EJB.
Very often in Examinations we do not have the all correct answers. if that is the case we need to chose the most appropriate one with some assumptions.