Question: 1
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?
A. Servlet accessed using HTTP
B. Entity bean accessed using web services
C. Stateless session bean accessed using Remote Method Invocation (RMI)
D. Message-driven bean accessed using Java Message Service (JMS) queue
Answer: C
Question: 2
An investment company has purchased a number of small online business referral systems that appeal
to various niche demographics. The company wants to bring these networks together in hopes of finding
a broad, single theme and brand image for these groups before they can do that, they need to get the
users communicating with outside their current networks.
Which Web Services pattern would you recommend they consider in building a scheme to
accommodate this communication?
A. Asynchronous Interactions
B. PAOS Interactions
C. Web Services Broker
D. JMS Bridge
Answer: A
Question: 3
A Hot Potato anti pattern can arise from misuse of which technology combination?
A. Bean Validation with JSF Managed Beans
B. Messaging in the Business Tier
C. JNDI Lookups with Global Java Naming
D. JPA with the Web Tier
Answer: B
Question: 4
You are the architect of an existing project. Making changes to one component frequently requires
making changes to many other components.
Which action would reduce future maintenance costs?
A. Redesign the configuration and deployment.
B. Add an abstraction layer between the servlets and the EJB components.
C. Convert all stateful EJB components to stateless EJB components.
D. Expose the existing EJB components as web services.
Answer: B
Question: 5
Your consulting company has been asked to enhance an existing application. The current application is a
two-tier system in which all the business logic is located in thick clients. You are considering a solution
that would involve moving the business logic into the server's database In the form of stored
procedures.
Which statement is an expected outcome of your proposed solution?
A. It will improve the scalability of the system.
B. It will improve the manageability of the system.
C. It will recline the amount of traffic on the network.
D. It will, in effect, turn the application into a three-tier system.
Answer: B
No comments:
Post a Comment