TAILIEUCHUNG - ECLIPSE WEB TOOLS PLATFORM developing java web applications PHẦN 6

Thứ nhất, giao diện người dùng có thể thay đổi rất thường xuyên để cải thiện khả năng sử dụng của nó và tận dụng lợi thế của công nghệ trình bày mới, nhưng cốt lõi là có khả năng được ổn định. Ví dụ, trong một hệ thống ngân hàng lõi hoạt động | Iteration 2 Developing Session EJBs 349 public Schedule findSchedule long id return id @ - method view - type both public Team findTeam long id return id @ - method view - type both public Set getSchedulesForLeague String league return league @ - method view - type remote public void ejbCreate leagueFacade Building a Web Client A component with no clients is not very useful. Here you will modify the Web module from Chapter 7 to use your EJBs. The Web application will be assembled into the same enterprise application and will be deployed to the same server for testing. Since you already know how to create dynamic Web projects quickly do the following to create the Web module for League Planet 1. In the Project Explorer view use the New Dynamic Web Project wizard to create a project named LeaguePlanetWeb. For detailed information on creating projects refer to the Creating Web Applications section in Chapter 6. Select JBoss as the target runtime. Add the Web module to the LeaguePlanetEAR. 2. Accept the defaults for the other options and click Finish. WTP creates the project and populates it with configuration files such as the J2EE Web deployment descriptor . 3. Next define the module dependencies so that your Web module can call EJBs and use model objects. Select the LeaguePlanetWeb project in the Project Explorer right click and invoke the Properties menu item as before. Navigate to the J2EE Module Dependencies page see Figure . 350 CHAPTER 8 The Business Logic Tier Figure J2EE Module Dependencies for LeaguePlanetWeb 4. Check LeaguePlanetModel and LeaguePlanetEJBClient to add them the list. Click the OK button to accept your changes. 5. Next you will add a JSP that displays information about the leagues by calling your EJBs. To do this you must add a JSP to your Web module and write some code. The .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.