File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes incorrect answer in mock test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "incorrect answer in mock test" Watch "incorrect answer in mock test" New topic
Author

incorrect answer in mock test

suekar meredilko
Ranch Hand

Joined: Mar 27, 2006
Posts: 153
the followign question's answer in a mock test was incorrect.

The Enterprise JavaBean 2.0 specification has introduced the notion of local Clients. What are Local Clients and why were they introduced?

Answer is C and F. Which is wrong. It should be B and E.

A Local Clients should be used when the web server is running on the same machine as the application server.

B Local Clients should be used when Session Beans need to communicate with Entity Beans.

Beans in the same Virtual Machine should use local Clients.

C Local Clients have been introduced to make testing code easier.

D Local Clients have been introduced to improve maintainability.

E Local Clients have been introduced to improve performance.

F Local Clients should be used when the database is running on the same machine as the application server.



Choices C and F are correct.



Note: This type of question will not be in the EJB 1.1 version of the SCEA but is likely to be in the EJB 2.0 version of the SCEA.Prior to the Enterprise JavaBean 2.0 specification all Bean clients were seen as remote clients. This meant that if a Session Bean needed to talk to an Entity Bean inside the same Virtual Machine it would still need to make a remote call. This obviously had a direct impact on performance. In EJB 2.0 Enterprise Beans can now treat other beans in the same VM as local clients. Local Clients can access the beans through its local and local home interfaces.Remote clients use pass-by-value but Local clients use pass-by-reference.For more information please see:http://java.sun.com/products/ejb/2.0.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: incorrect answer in mock test