Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tuyệt vời, một đơn đặt hàng khẩn cấp! Tôi sẽ nhanh chóng đặt một cuộc gọi trước khi chúng tôi chạy ra của hạt cà phê một lần nữa .Không có vấn đề mà Giám đốc điều hành Starbuzz là, nếu anh ta có di động của mình gần đó, ông nhận được tin nhắn. | Chapter 11. Deploying your web app configuring EJi references Memorizing the unrelated pp tags This exam is aboutweb components not business components although in the Patterns chapter you ll see a few things about business components . But ifyou re deployingaJ2EE app complete with EnterpriseJavaBeans EJBs in the business tier some of your web components will probably need to lookup and access the enterprise beans. Ifyou re deploying an app in a fullJ2EE-compliant Container one that has an EJB Container aswell you can define references to EJBs in the DD. You don t have to know anything about EJBs for this exam other than whatyou declare in the DD so we won t waste your time explaining it here. Reference to a local bean Tbe ----- use ejb-local-ref ejb-ref-name ejb Customer ejb-ref-name ejb-ref-type Entity ejb-ref-type local-home com.wickedlysmart.CustomerHome local-home local com.wickedlysmart.Customer local ejb-local-ref the bean s exposed iu Ei . A LOCAL bean means the client in this case a servlet and the bean must be running in the same JVM. Reference to a remote bean ejb-ref ejb-ref-name ejb LocalCustomer ejb-ref-name ejb-ref-type Entity ejb-ref-type home com.wickedlysmart.CustomerHome home remote com.wickedlysmart.Customer remote ejb-ref CpEiohal sub-elemehEs -for boEh Ea s ihclude desCripEioh ahd ejb-lihk buE you doh E heed -to khow EhaE -for Ehe exam. A REMOTE bean means the client in this case a servlet and the bean can be running in different JVMs possibly on different physical machines as well . But ifyou re interested in EJB there s this really good book. 598 chapter ll Chapter 11. Deploying your web app Head First Servlets and JSP By Bert Bates Kathy Sierra Bryan Basham ISBN 0596005407 Publisher O Reilly Prepared for Stephen Goss Safari ID stephengoss@gmx.net Print Publication Date 8 1 2004 User number 747221 Copyright 2007 Safari Books Online LLC. This PDF is exclusively for your use in accordance with the Safari Terms of Service. No part of it may be