This document describes how to develop applications that include Java EE resource adapters and how to deploy them on WebLogic Server. It is written for resource adapter users, deployers, and software developers, and also contains information that is useful for business analysts and system architects who are evaluating WebLogic Server or considering the use of WebLogic Server resource adapters for a particular application.
The following sections describe the contents and organization of this guide—Programming Resource Adapters for Oracle WebLogic Server.
The topics in this document are relevant during the design and development phases of a software project. The document also includes topics that are useful in solving application problems that are discovered during test and pre-production phases of a project.
This document does not address production phase administration, monitoring, or performance tuning topics. For links to WebLogic Server documentation and resources for these topics, see Related Documentation.
It is assumed that the reader is familiar with Java EE and resource adapter concepts. The foundation document for resource adapter development is the JSR 322: Java EE Connector Architecture 1.6 (Final Release). See http://jcp.org/aboutJava/communityprocess/final/jsr322/index.html
. Resource adapter developers should become familiar with the Java EE Connector Architecture 1.6 specification. This document, Programming Resource Adapters for Oracle WebLogic Server, emphasizes the value-added features provided by WebLogic Server resource adapters and key information about how to use WebLogic Server features and facilities to get a resource adapter up and running.
This section, Chapter 1, "Introduction and Roadmap," introduces the organization of this guide.
Chapter 2, "Understanding Resource Adapters," introduces you to the Oracle WebLogic Server implementation of the Java EE Connector Architecture as well as the resource adapter types and XML schema.
Chapter 3, "Creating and Configuring Resource Adapters," describes how to create resource adapters using the Oracle WebLogic Server implementation of the Java EE Connector Architecture.
Chapter 4, "Programming Tasks," describes programming tasks for resource adapters.
Chapter 5, "Using Contexts and Dependency Injection in Resource Adapters," describes WebLogic Server support for Contexts and Dependency Injection (CDI) in resource adapter beans.
Chapter 6, "Connection Management," introduces you to resource adapter connection management.
Chapter 7, "Transaction Management," introduces you to the resource adapter transaction management.
Chapter 8, "Message and Transactional Inflow," describes resource adapter messaging inflow and transactional inflow.
Chapter 9, "Security," describes how to configure security for resource adapters.
Chapter 10, "Packaging and Deploying Resource Adapters," discusses packaging and deploying requirements for resource adapters and provides instructions for performing these tasks.
Appendix A, "weblogic-ra.xml Schema," provides a complete reference for the schema for the WebLogic Server-specific deployment descriptor, weblogic-ra.xml
.
Appendix B, "Resource Adapter Best Practices," provides best practices for resource adapter developers.
The foundation document for resource adapter development is JSR 322: Java EE Connector Architecture 1.6. Programming Resource Adapters for Oracle WebLogic Server document assumes you are familiar with the Java EE Connector Architecture specification, which contains design and development information that is specific to developing WebLogic Server resource adapters.
For comprehensive guidelines for developing, deploying, and monitoring WebLogic Server applications, see the following documents:
Developing Applications for Oracle WebLogic Server is a guide to developing WebLogic Server applications.
Deploying Applications to Oracle WebLogic Server is the primary source of information about deploying WebLogic Server applications.
Performance and Tuning for Oracle WebLogic Server contains information on monitoring and improving the performance of WebLogic Server applications.
In addition to this document, Oracle provides resource adapter examples for software developers. WebLogic Server optionally installs API code examples in WL_HOME\samples\server\examples\src\examples
, where WL_HOME
is the top-level directory of your WebLogic Server installation. You can start the examples server, and obtain information about the samples and how to run them from the WebLogic Server Start menu.
Two sets of resource adapter examples are provided with this release of WebLogic Server. One set is compliant with the 1.5 Connector Architecture, and another set with the 1.6 Connector Architecture (included among the Java EE 6 examples). Oracle recommends that you examine, run, and understand these resource adapter examples before developing your own resource adapters.
For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server.