tailieunhanh - WebSphere Studio Application Developer Version 5 Programming Guide part 26
WebSphere Studio Application Developer part 26 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 | Creating a server for testing To test a Web application we require a server. Because our project is a J2EE project we require a WebSphere Version 5 server or a Tomcat server . A server can be created automatically or manually For automatic server creation select the ItsoProGuideBasicWeb project and Run on Server context . The dialog shown in Figure 7-39 is displayed. Figure 7-39 Server selection dialog The default selection is correct and clicking OK defines a server project named Servers a server named WebSphere Test Environment and starts the server. The drawback of this method is that we cannot select a name for the server and we cannot tailor the server before it starts. Stop the server delete it from the Server Configuration view and delete the Servers project. We want to create a server manually. For manual creation of a server open the Server perspective and select New - Server and Server Configuration. In the dialog Figure 7-40 enter the name of the server for example ItsoServer set the folder as ItsoProGuideServers this creates the ItsoProGuideServers project and select WebSphere version - Test Environment. Click Next and confirm that you want to create the ItsoProGuideServers project. Accept the default port of 9080 and click Finish. Select the ItsoServer in the Server Configuration view and Add - ItsoProGuide context . This adds the EAR project with the Web module to the server. The ItsoServer server also appears in the Servers view from where it can be started and stopped. 224 WebSphere Studio Application Developer Version 5 Programming Guide Figure 7-40 Creating a WebSphere test server Testing the application Start the ItsoServer server. While the server is starting you can check its initialization message log on the Console view. If the view is not visible select Window - Show View - Console from the menu bar. You will know that the server is ready when you read the message Server serverl open for e-business . Select the .
đang nạp các trang xem trước