aspose file tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt on Sun Assesment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "Doubt on Sun Assesment " Watch "Doubt on Sun Assesment " New topic
Author

Doubt on Sun Assesment

Chaminda Amarasinghe
Ranch Hand

Joined: May 17, 2006
Posts: 402
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

Joined: Aug 13, 2008
Posts: 20
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

Joined: May 17, 2006
Posts: 402
Thanks Goutham
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Doubt on Sun Assesment
 
Similar Threads
ejb-jar file 's content
how to jar ejb in this case
<ejb-client-jar> example from the core specification
ejb-client jar quesition..
Can I place jar files inside ejb-jar.jar?