
Chapter 4. Application design 99
Figure 4-14 Service activator pattern
Often service activators can be found together with implementations of the
service adapter pattern to provide interface conversion for signature as well as
message format mappings. Consider, for example, the message exchange
format is XML. The right place to implement the marshalling and unmarshalling
between XML and some provider-specific data format would be directly after
consuming the message, after the service activator.
Using J2EE as the selected technology, the service activator would usually be
implemented by a message driven bean (MDB).
Service adapter
The service ...