Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Tin học văn phòng
Patterns in JavaTM, Volume 3 Java Enterprise Java Enterprise Design Patterns phần 9
Đang chuẩn bị liên kết để tải về tài liệu:
Patterns in JavaTM, Volume 3 Java Enterprise Java Enterprise Design Patterns phần 9
Hiền Mai
54
50
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Khôi phục trạng thái của đối tượng tham gia từ những thông tin * gói gọn trong đối tượng nhất định. * Các đối tượng nhất định phải được trả lại bằng phương pháp captureState * đối tượng này. * / Public void restoreState (SnapshotIF nhà nước); / ** * Ngày phát hành một khóa thu được trước đó. | interface PersistablelF BusinessClassl BusinessClass2 persists persists persistenceLayer FIGURE 9.2 Persistence Layer pattern. 392 Database Patterns 393 this one-to-one relationship. Alternatively there may be one or a small number of classes in the role that implement multiple interfaces and so are responsible for managing the persistence of instances of multiple classes. You usually see this organization when the code that implements the persistence logic is generated at runtime by a code generator. Using a code generator to generate the persistence code can be a big savings in programmer time. However automatically generated code tends not to be as well optimized as code written by a skilled programmer. TransactionManagerlF. Interfaces in this role declare methods that are used to commit or abort transactions. TransactionManagerImpl. Classes in this role implement the TransactionManagerIF interface. PersistenceManager. Classes in this role define methods that are responsible for creating and returning objects that implement the BusinessClasslPersisterlmpl BusinessClass2Persister-Impl . and TransactionManagerIF interfaces. If more than one type of persistent storage is supported then the classes methods are also responsible for ensuring that the objects they return are appropriate for the type of persistent storage being used. CONSEQUENCES If the underlying technology used to persist an application changes then only the persistence layer needs to change. For example an application that is initially developed to use a relational database may be changed to use an object-oriented database or a data cube. The underlying persistence schema can be changed without modifying any part of an application outside of its persistence layer. The logical complexities of working with the underlying database are hidden by the persistence layer from the rest of the application. For example most databases require a different call or command to store a new object than to update the
TÀI LIỆU LIÊN QUAN
THEWEB DESIGNER’S ROADMAP
Applied Java™ Patterns
Design Patterns Java™ Workbook
Design Patterns Fof Dummies
Design patterns
The head First Design Patterns
Children’s sewing patterns: 4 free Sewing patterns for kids
Price patterns of martin pring
PHP Objects, Patterns, and Practice
The Biology of Soil
crossorigin="anonymous">
Đã 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.