• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on Sun Assesment

 
Chaminda Amarasinghe
Ranch Hand
Posts: 404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks

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

Thanks
Cham
 
Goutham Pallipati
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chaminda Amarasinghe
Ranch Hand
Posts: 404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Goutham
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic