24. The Resource Adapter Examples

This chapter describes two examples that demonstrate how to use resource adapters in Java EE applications and how to implement simple resource adapters. The trading example shows how to use a simple custom client interface to connect to an EIS from a web application. The resource adapter in this example implements the outbound contract and the custom client interface. The traffic example shows how to use a message-driven bean (MDB) to process traffic information updates from an EIS. The resource adapter in this example implements the inbound and work management contracts.

The following topics are addressed here:

The trading Example

The traffic Example

24.1 The trading Example

The trading example demonstrates ...

Get The Java EE 7 Tutorial, Volume 2, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.