Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
CÁC chương khác trong cuốn sách này là dành cho các nhà phát triển ứng dụng kinh doanh, nhưng chương này là dành cho người dùng cao cấp như tích hợp hệ thống và công cụ phát triển. Các ví dụ trong chương này thể hiện kết nối Công nghệ J2EE ™ bằng cách truy cập cơ sở dữ liệu quan hệ | j2EE Connector Technology by Dale Green and Beth Stearns THE other chapters in this book are intended for business application developers but this chapter is for advanced users such as system integrators and tools developers. The examples in this chapter demonstrate the J2EE Connector Technology by accessing relational databases. However this technology is not a substitute for the JDBC API. Business application developers should continue to use the JDBC API to access relational databases. The J2EE Connector Technology enables J2EE components such as enterprise beans to interact with Enterprise Information Systems EIS . EIS software includes various types of systems Enterprise Resource Planning ERP mainframe transaction processing non-relational database among others. The J2EE Connector Technology simplifies the integration of diverse EIS systems. Each EIS requires just one implementation of the J2EE Connector Technology. Because an implementation adheres to the J2EE Connector Specification it is portable across all compliant J2EE servers. About Resource Adapters 284 Resource Adapter Contracts 284 Administering Resource Adapters 285 The Black Box Resource Adapters 287 Transaction Levels 287 Properties 288 Configuring JDBC Drivers 289 281 282 J2EE Connector Technology Resource Adapter Tutorial 290 Setting Up 290 Deploying the Resource Adapter 290 Testing the Resource Adapter 291 Common Client Interface CCI 293 Overview of the CCI 293 Programming with the CCI 295 Writing a CCI Client 304 CCI Tutorial 304 About Resource Adapters A resource adapter is a J2EE component that implements the J2EE Connector Technology for a specific EIS. It is through the resource adapter that a J2EE application communicates with an EIS. See Figure 20. Stored in a RAR Resource adapter ARchive file a resource adapter may be deployed on any J2EE server much like the EAR file of a J2EE application. A RAR file may be contained in a EAR file or it may exist as a separate file. A resource adapter