正在加载图片...
g Copynight IBM Corporation 2005. All nights reserved Introduction The J2EE 1. 4 application you will be using is a simple banking application named Web Sphere Bank. It is composed of an EJB, Web, and Application Client module. In the EJB module there is a session bean and an two entity beans. Before being able to fully use the application, you will need to create the database and tables required to run the application and create the datasource resource in WebSphere Application Server so your application can persist data to the database. You will be using a Cloudscape database which is a small footprint, object-relational database based purely on Java. It can be set up very easily and you can quickly test your application to ensure it is working properly. The EJB to RDB mappings and the deploy code have already been generated for you In the first part of the lab you construct the resources necessary to run the WebSphere Bank which the Web Sphere Bank application will use to persist data to the database. In the secong application. This entails creating a database using Cloudscape and then creating a datasourc part of the lab you will create a WRD deployment automation project using the autoappinstall style. This will create a monitored directory on your file system. Once it's configured you will place the Web Sphere Bank EAR file in the directory and verify that the application was installed by using the administrative console and accessing the application itself. However, this version of WebSphere Bank will not have any functionality to perform a transfer of funds or a retrieve balances. The next step will be to take a new Web Sphere Bank Ear file with transfer and file from the directory and check through the administrative console that the application a the at retrieve funds function and overwrite the old Web Sphere Bank EAR file. Again, you will verify tha the application did get updated. The final step of the autoappinstall style will be to remove t indeed, get uninstalled. In the final section of this lab you will create another WRD deployment automation project using the freeform style. You will be using a simple web application that contains one servlet. This level of simplicity will show you the basics of how the freeform style works Exercise Instructions Establish the WebSphere Environment 1. Ensure that the Deployment Manager(dmgr)is started a Open a command prompt and navigate to c: IWeb Sphere\\\ bin c Command Prompt C:\WebSphere \AppServer\profiles\dmgr\bin>. Proof of Technology L04-Web Sphere Deployment Automation and WRU age 2 of© Copyright IBM Corporation 2005. All rights reserved Proof of Technology L04 – WebSphere Deployment Automation and WRU Product Introduction + Exploration (PI+E) Page 2 of 28 Introduction The J2EE 1.4 application you will be using is a simple banking application named WebSphereBank. It is composed of an EJB, Web, and Application Client module. In the EJB module there is a session bean and an two entity beans. Before being able to fully use the application, you will need to create the database and tables required to run the application and create the datasource resource in WebSphere Application Server so your application can persist data to the database. You will be using a Cloudscape database which is a small footprint, object-relational database based purely on Java. It can be set up very easily and you can quickly test your application to ensure it is working properly. The EJB to RDB mappings and the deploy code have already been generated for you. In the first part of the lab you construct the resources necessary to run the WebSphereBank application. This entails creating a database using Cloudscape and then creating a datasource which the WebSphereBank application will use to persist data to the database. In the second part of the lab you will create a WRD deployment automation project using the autoappinstall style. This will create a monitored directory on your file system. Once it’s configured you will place the WebSphereBank EAR file in the directory and verify that the application was installed by using the administrative console and accessing the application itself. However, this version of WebSphereBank will not have any functionality to perform a transfer of funds or a retrieve balances. The next step will be to take a new WebSphereBank EAR file with transfer and retrieve funds function and overwrite the old WebSphereBank EAR file. Again, you will verify that the application did get updated. The final step of the autoappinstall style will be to remove the file from the directory and check through the administrative console that the application did indeed, get uninstalled. In the final section of this lab you will create another WRD deployment automation project using the freeform style. You will be using a simple web application that contains one servlet. This level of simplicity will show you the basics of how the freeform style works. Exercise Instructions Establish the WebSphere Environment ____ 1. Ensure that the Deployment Manager (dmgr) is started. __ a. Open a command prompt and navigate to c:\WebSphere\AppServer\profiles\dmgr\bin
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有