As the architect charged with refactoring an existing system, you have determined that the interactions between objects in the existing system are too complex and
that the objects are tightly coupled. Furthermore, due to the coupling, additional functionality would require the modification of many objects in the system. Which
pattern can fix this problem?
As an architect, you need a design pattern with the following capabilities:
decouples storage implementation details
provides a uniform API to access various external resources
encapsulates proprietary features to facilitate maintainability
Which design pattern should you choose?
You are interested in writing an XML messaging application. You would like to make methods calls to an API so you can read SOAP messages containing
attachments and optionally send and receive these messages over the Internet. You are most interested in implementing XML messaging from the Java platform.
Which Java API is best suited for your solution?
A mortgage company is building a system that allows customers to apply for a mortgage using a web application. A mortgage typically takes several days to
process, so the customers receive results through an email message. When a customer completes the mortgage form, the customer must click the Submit button.
When the Submit button is clicked, the application sends the mortgage data to an external system for processing and displays a JSP indicating that the application
has been accepted. Because the company's core business is mortgages, the architecture must guarantee the delivery of mortgage data between the web
application and the external processing system. In this situation, which technology should the web application use to send the mortgage data to the external
processing system?
You are a client of an XML over HTTP web service. You need a Java API that can enable your application to parse and transform XML documents independent of a
particular XML processing implementation. Which Java API can you use?
Your client is interested in the benefits of integration with an external system using RMI-IIOP, RMIJRMP, and CORBA for external integration. What should you tell
your client?
A system architecture has two applications, one for billing and one for registration. The billing system is an older CORBA interface for updating billing information.
The registration system is built using Java technology. A planned enhancement requires the registration application to automatically update the external billing
system. Which Java technology is best suited for the enhancement?
A company has defined an XML-based document format that its business partners need to use to submit order information. To guarantee confidentiality and
information integrity at a fine level in the presence of multiple processing steps, the company wants to take advantage of technologies such as WS-Security and
XML Digital Signatures. These technologies define SOAP headers that can be used to sign and encrypt fragments of documents. Your task is to implement the web
service that accepts and processes the orders. Which component type should be used for the web service endpoint?
A company has begun a full review of the API they support and publish to all customers. The company recently adopted Java EE as their standard technology
platform and has been using the Java EE platform since version 1.2. The API must expose functionality implemented in stateless session beans as web services
consuming and generating SOAP messages. Which method best achieves this goal, taking into account simplicity, a desire to reduce code and configuration, and
overall integration with the Java EE platform?
A company is the leading market developer of money management tools to stock market day traders. Traders access the tool over a secure VPN. The tool is
accessed as a Java Swing application on the client, accessing a complex API on the server to achieve tasks, such as realtime pricing feeds, and security trading.
No other technologies are used to access the API. Users typically log in at 7 a.m. every work day and remain logged in until 6:30 p.m. You are a subject matter
expert in Java EE and have been asked to advise on how the next-generation API should be implemented. What do you recommend?