tailieunhanh - WebSphere Studio Application Developer Version 5 Programming Guide part 15

WebSphere Studio Application Developer part 15 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 | The TransRecord class provides no special methods. The Bank class provides - Customer getCustomer customerID retrieve customer information - Account getAccount accountlD retrieve account information - Account get Accounts customerlD retrieve the accounts of one customer as an array - TransRecord getTransactions accountlD retrieve the transactions records of one account as an array - BigDecimal deposit accountID amount - BigDecimal withdraw accountID amount - BigDecimal ransfer accountID1 accountID2 amount The BankingTest facade class provides the same methods as the Bank class and forwards the execution to the Bank class. Importing the implementation The banking model is provided in a JAR file that you can import into the ItsoProGuideJava project which becomes our utility project Select the ItsoProGuideJava project and Import context . Select ZIP file and click Next. Click Browse and locate the file sg246957 sampcode dev-java Select Overwrite existing resources without warning. Click Finish. After importing the code you find the five packages in the ItsoProGuideJava project. We will use the ItsoProGuideJava project as a utility project in Chapter Developing Web applications on page 179. Testing the model To test the model select the ItsoProGuideJava project and Run - Run As - Java Application. When prompted select the BankMain class and click OK. Alternatively you can run the BankMain program using the instruction in Running your programs on page 103. The program executes a few of the business methods and displays the output in the Console view. 114 WebSphere Studio Application Developer Version 5 Programming Guide Programming assists Application Developer contains a number of Java programming assist features. These features are designed to make life easier for both experienced and novice Java programmers by simplifying or automating many common tasks. The following topics are covered Pluggable JDK Java Scrapbook Code assist Navigating through .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN