Đang chuẩn bị liên kết để tải về tài liệu:
Apress Pro Apache Struts with Ajax phần 5

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Việc áp dụng JavaEdge sử dụng các công nghệ sau đây để xây dựng tầng truy cập dữ liệu: Phạt cảnh cáo Vui lòng sử dụng ít nhất OJB phiên bản 1.0.4, trong khi chạy các ứng dụng mã nguồn JavaEdge. Các phiên bản trước của OJB có lỗi gây ra hành vi bất thường với các ứng dụng JavaEdge. | 190 CHAPTER 5 ARCHITECTING THE DATA ACCESS TIER WITH OBJECTRELATIONALBRIDGE OJB is an extremely configurable and tunable product. It is built on a set of pluggable components so that if you find that some feature in OJB does not meet your needs such as its caching model you can easily replace that component with your own implementation. The JavaEdge application uses the following technology to build the data access tier MySQL MaxDB Available at http mysql.com. Connector J 3.1 a MySQL JDBC Driver Available at http mysql.com. Connector J 5.0 is in development and might be in Generally Available GA release by the time this book is published. OJB 1.0.4 Available at http db.apache.org ojb. Caution Please use at least OJB version 1.0.4 while running the JavaEdge application source code. Earlier releases of OJB have bugs in them that cause unusual behavior with the JavaEdge application. Now we will walk through some of the key files. The Core OJB Files OJB is very easy to set up. To begin writing the code using OJB you need to first place the following jar files in your classpath. These files are located in the lib directory of the unzipped OJB distribution. The required files are db-ojb-1.0.4.jar which is the core OJB jar file Several Jakarta Commons jar files including the following commons-beanutils.jar commons-collections.jar commons-lang-2.0.jar commons-logging.jar commons-pool.jar Once these jar files are included in your classpath you are ready to begin mapping your Java class files. In the JavaEdge application these will be the MemberVO StoryVO and StoryCommentVO classes mapped to your database tables. Setting Up the Object Relational Mappings Setting up your O R mappings using OJB is a straightforward process that involves creating and editing two files OJB.properties and repository.xml. The OJB.properties file is used to customize the OJB runtime environment. By modifying the OJB.properties file a developer can control whether OJB is running in single virtual .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.