Summary

This chapter is an example of how to implement some of the concepts, techniques, and best practices present in the book in the real world. The resource adapter developed in this chapter is capable of reading data from an ASCII file and converting it into Java objects. The client of this resource adapter is a session bean that displays the Java objects on screen.

The full source code (including the implementations of all interfaces defined in this chapter) for the example adapter, and the configuration of the J2EE environment in which it has been successfully tested is available in Chapter 17. The code is also available for download on the Web site www.samspublishing.com and on the attached CD-ROM.

The important thing to remember is the ...

Get Java™ Connector Architecture: Building Custom Connectors and Adapters 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.