1Z0-807 · Question #80
Your company requires all its developers to use a well-specified set of exception classes to model several common error conditions, many of the which are specific to its business. These exception…
The correct answer is C. Stateless session bean accessed using Remote Method Invocation (RMI). See the full explanation below for the reasoning.
Question
Your company requires all its developers to use a well-specified set of exception classes to model several common error conditions, many of the which are specific to its business. These exception classes are centrally maintained and come packaged in a library (a JAR file). The application you are developing needs to report a number of error conditions covered by this library to remote clients. Which paring of component type and remote access technology enables client applications to use the predefined exceptions as part of their natural programming model?
Options
- AServlet accessed using HTTP
- BEntity bean accessed using web services
- CStateless session bean accessed using Remote Method Invocation (RMI)
- DMessage-driven bean accessed using Java Message Service (JMS) queue
How the community answered
(24 responses)- A4% (1)
- B13% (3)
- C79% (19)
- D4% (1)
Community Discussion
No community discussion yet for this question.