Multiple choice technology architecture

Julia Fractals Inc. is building a J2EE based application for Order Entry and management of their fractal software. Once the order is taken, it is submitted to a relational database. A provisioning system then queries data and makes appropriate calls to various subsystems using JMS on MQ Series. What design pattern is JMS an example of here?

  1. Observer

  2. Mediator

  3. Adapter

  4. Bridge

  5. Visitor

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

The Bridge pattern separates abstraction from implementation, allowing them to vary independently. JMS acts as a bridge between the Order Entry application and various subsystems by providing a messaging layer that decouples the producer from consumers. Observer is about one-to-many dependencies, Mediator centralizes communication, Adapter converts interfaces, and Visitor separates operations from object structure.