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
Kỹ thuật lập trình
Teach Yourself J2EE in 21 Days phần 4
Đang chuẩn bị liên kết để tải về tài liệu:
Teach Yourself J2EE in 21 Days phần 4
Minh Hùng
78
111
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Đầu tiên, nếu khách hàng của bạn có một tham chiếu đến một đậu kỳ họp không quốc tịch, mặc dù nó nên gọi khi nó được hoàn tất với các EJB, cuộc gọi phương pháp này không thực sự làm đặc biệt là nhiều. Đặc biệt, nó sẽ không phát hành bất kỳ tài nguyên đậu riêng của mình, như thể hiện rõ ràng bởi các sơ đồ biểu đồ nhà nước trong hình 5.3. | 314 Day 7 and the entity element defined as ELEMENT entity description display-name small-icon large-icon ejb-name home remote local-home local ejb-class persistence-type prim-key-class reentrant cmp-version abstract-schema-name cmp-field primkey-field env-entry ejb-ref ejb-local-ref security-role-ref security-identity resource-ref resource-env-ref query Looking first at the entity element much of it will be unchanged. What needs to be specified for a CMP entity are cmp-version Always set to 2.0. The value 1.1 is supported only for legacy CMP Entity beans written to the EJB 1.1 specification. abstract-schema-name Any unique name this defines the name used to identify the bean in EJB QL queries. It makes sense to base this on the name of the bean. In the case study the JobBean bean has a schema with the name of Job. cmp-field One for each cmp-field but not cmr-fields . In the Job bean the cmp-fields are ref customer and description. The location and skills fields are cmr-fields representing relations to the Location and Skill beans respectively and so do not appear. primkey-field This optional field is used when the primkey-class element does not identify a custom primary key class. It is not specified for the Job bean but for the Location bean for example it is specified and is set to name. query Defines an EJB QL query associating it with a finder or select method. Listing 7.12 shows the entity element for the Job bean. Listing 7.12 Job Bean s entity Element 1 entity 2 display-name JobBean display-name 3 ejb-name JobBean ejb-name 4 local-home data.JobLocalHome local-home 5 local data.JobLocal local 6 ejb-class data.JobBean ejb-class 7 persistence-type Container persistence-type CMP and EJB QL 315 Listing 7.12 Continued 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 prim-key-class data.JobPK prim-key-class reentrant False reentrant cmp-version 2.x cmp-version .
TÀI LIỆU LIÊN QUAN
Sams Teach Yourself PHP, MySQL and Apache
Sams Teach Yourself SAP 24 Hours
Sams Teach Yourself C in 21 Days - Fourth Edition
SAMS Teach Yourself Programming with Java in 24 Hours
Sams Teach Yourself Microsoft® Expression Web 4 Second Edition
Sams Teach Yourself C++ in One Hour a Day
Sams Teach Yourself PHP, MySQL and Apache All in One 5th Edition
Sams Teach Yourself Visual C# 2010 in 24 Hours
Sams Teach Yourself SQL in 24 Hours (5th Edition)
Sams Teach Yourself SQL in 24 Hours, Fourth Edition
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.