tailieunhanh - WebSphere Studio Application Developer Version 5 Programming Guide part 22
WebSphere Studio Application Developer part 22 provides integrated development tools for all e-business development roles, including Web developers, Java developers, business analysts, architects, and enterprise programmers. The customizable, targeted, role-based approach of WebSphere Studio Application Developer will be characteristic of all new products built on the WebSphere Studio Workbench. It is well integrated with WebSphere Application Server and provides built-in server test environments that can be used for testing and profiling Web applications | This is a mostly dynamic page. The user may check the transaction number date type and amount. The color of the table rows alternate for readability reasons. Finally if anything goes wrong in the regular flow of events the exception page is shown to inform the user Figure 7-6 . Red Bank Unexpected Condition Customer does not exist. Please try a different customer number. Continue For more information on ITSO and RedBooks please visit our Internet site. Figure 7-6 RedBank exception page showExceptionjsp The only dynamic content in this page is the message displayed to the user. In the example shown in Figure 7-6 we entered an invalid customer ID. Facade We will use a copy of the facade in the Web application. It is better to have the facade in the Web application to be able to access a different model that is implemented in another project for example as EJBs . Application flow The flow of the application is shown in Figure 7-7 The view layer is comprised of one HTML file and four JSPs. You will implement the and the . The control layer is comprised of four servlets and four action classes. The PerformTransaction servlet passes control to one of the action classes. You will implement the ListAccounts servlet. The model layer is comprised of the facade and four model classes. All interactions from the servlets and actions classes go through the facade the Banking class. The model is available in the ItsoProGuideJava project which will be a utility project in the enterprise application. 184 WebSphere Studio Application Developer Version 5 Programming Guide Creating a Web project In Application Developer you create and maintain Web resources in Web projects. They provide a development environment that enables you to perform activities such as link-checking building testing and publishing. Within a Web project Web resources can be treated as a portable cohesive unit. Web projects can be static or dynamic. Static Web projects are .
đang nạp các trang xem trước