Multiple choice technology programming languages

A developer has a requirement to expose a Web service interface to an existing order processing system. The order processing system is quite old and the company has doubts about its compatibility with newer technologies. What is the appropriate design?

  1. only a new interaction layer

  2. only a new processing layer

  3. a new interaction layer and a new processing layer

  4. a new interaction layer and a facade processing layer that uses the existing order processing system

  5. a new processing layer and a facade interaction layer that uses the existing order processing system

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To expose an old, legacy system while minimizing risks of incompatibility with newer technologies, the Facade design pattern is ideal. Creating a new interaction layer combined with a facade processing layer allows the system to interface with legacy order processing without modifying its core, preserving stability.