Rational Application Developer V7.5 Programming Guide RAD
User Manual:
Open the PDF directly: View PDF
Page Count: 1434 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Go to the current abstract on ibm.com/redbooks
- Front cover
- Contents
- Figures
- Tables
- Examples
- Notices
- Preface
- Summary of changes
- Part 1 Introduction to Rational Application Developer
- Chapter 1. Introduction
- Chapter 2. Programming technologies
- Desktop applications
- Static Web sites
- Dynamic Web applications
- Enterprise JavaBeans and Java Persistence API (JPA)
- Web services
- Messaging systems
- Summary
- Chapter 3. Workbench setup and preferences
- Chapter 4. Perspectives, views, and editors
- Integrated development environment (IDE)
- Application Developer Help
- Available perspectives
- Crystal Reports perspective
- CVS Repository Exploring perspective
- Data perspective
- Database Debug perspective
- Database Development perspective
- Debug perspective
- Java perspective
- Java Browsing perspective
- Java EE perspective
- Java Type Hierarchy perspective
- JavaScript perspective
- Jazz Administration perspective
- JPA perspective
- Plug-in Development perspective
- Profiling and Logging perspective
- Report Design perspective
- Requirement perspective
- Resource perspective
- Team Synchronizing perspective
- Test perspective
- Web perspective
- Work items perspective
- Progress view
- Summary
- Chapter 5. Projects
- Part 2 Architecture and modeling
- Chapter 6. RUP, patterns, and SOA
- Chapter 7. Unified Modeling Language (UML)
- Overview
- Constructing and visualizing applications using UML
- Working with UML class diagrams
- Exploring relationships in applications
- Describing interactions with UML sequence diagrams
- More information on UML
- Part 3 Basic Java and XML development
- Chapter 8. Develop Java applications
- Java perspectives, views, and editor overview
- Java perspective
- Java Browsing perspective
- Java Type Hierarchy perspective
- Developing the ITSO Bank application
- ITSO Bank application overview
- ITSO Bank application step-by-step development guide
- Creating a Java project
- Creating a UML class diagram
- Creating Java packages
- Creating Java interfaces
- Creating Java classes
- Creating Java attributes (fields) and getter and setter methods
- Adding method declarations to an interface
- Adding constructors and Java methods to a class
- Creating relationships between Java types
- Implementing the classes and methods
- Running the ITSO Bank application
- Creating a run configuration
- Understanding the sample code
- Additional features used for Java applications
- Using scripting inside the JRE
- Analyzing source code
- Debugging a Java application
- Using the Java scrapbook
- Generating Javadoc
- Java editor and rapid application development
- Navigating through the code
- Using the Outline view to navigate the code
- Using the Package Explorer to navigate the code
- Using bookmarks to navigate the code
- Source folding
- Type hierarchy
- Smart insert
- Marking occurrences
- Smart compilation
- Java and file search
- Working sets
- Quick fix
- Quick assist
- Content assist
- Import generation
- Adding constructors
- Delegate method generator
- Refactoring
- More information
- Chapter 9. Accelerate development using patterns
- Chapter 10. Develop XML applications
- XML overview and associated technologies
- Rational Application Developer XML tools
- More information
- Part 4 Persistence application development
- Chapter 11. Develop database applications
- Introduction
- Connecting to the ITSOBANK database
- Connecting to databases
- Creating SQL statements
- Developing a Java stored procedure
- Developing SQLJ applications
- Data modeling
- More information
- Chapter 12. Persistence using the Java Persistence API (JPA)
- Introducing the Java Persistence API
- Developing JPA entities
- Visualizing the JPA entities
- Testing JPA entities
- Preparing the entities for deployment in the server
- Summary
- Part 5 Enterprise application development
- Chapter 13. Develop Web applications using JSPs and servlets
- Introduction to Java EE Web applications
- Web development tooling
- Summary of new features in v7.5
- RedBank application design
- Implementing the RedBank application
- Creating the Web project
- Importing the Java RedBank model
- Defining the Web site navigation and appearance
- Create frameset pages
- Customize frameset Web page areas
- Customize a style sheet
- Verify the site navigation and page templates
- Developing the static Web resources
- Developing the dynamic Web resources
- Working with servlets
- Adding RAD75Java as a Web Library project
- Adding the ListAccounts servlet to the Web project
- Implementing the ListAccounts servlet
- Implementing the UpdateCustomer servlet
- Implementing the AccountDetails servlet
- Implementing the Logout servlet
- Implementing the PerformTransaction command classes
- Implementing the PerformTransaction servlet
- Working with JSPs
- Testing the Web application
- RedBank Web application conclusion
- More information
- Chapter 14. Develop EJB applications
- Introduction to Enterprise JavaBeans
- Sample application overview
- Preparing for the sample
- Developing an EJB application
- Implementing the session facade
- Testing the session EJB and the entities
- Writing an EJB 3.0 Web application
- Adding a remote interface
- Complete EJB application interchange file
- More information
- Chapter 15. Develop Web applications using Struts
- Introduction to Struts
- Preparing for the sample application
- Developing a Web application using Struts
- Completing the application
- Running the Struts Bank Web application
- Developing a Struts Web application using Tiles
- Importing the final sample application
- More information
- Chapter 16. Develop Web applications using JSF
- Introduction to JSF
- Preparing for the sample
- Developing a Web application using JSF and JPA
- Project setup
- Structure of the JSF Web application
- Editing the Faces JSP pages
- Editing the login page
- Creating a JPA manager bean
- Editing the customer details page
- Editing the account details page
- Adding navigation between the pages
- Implementing deposit and withdraw
- Running the JSF application
- Web Diagram
- Drop-down menu for customer login
- Adding a deluxe pager
- Using the data source in the server
- Cleanup
- Final code
- More information on JSF and AJAX
- Chapter 17. Develop Java EE application clients
- Introduction to Java EE application clients
- Overview of the sample application
- Preparing for the sample application
- Developing the Java EE application client
- Creating the Java EE application client projects
- Configuring the Java EE application client projects
- Importing the graphical user interface and control classes
- Creating the BankDesktopController class
- Completing the BankDesktopController class
- Creating an EJB reference and binding
- Registering the BankDesktopController class as the main class
- Testing the Java EE application client
- Packaging the Java EE application client
- Chapter 18. Develop Web services applications
- Introduction to Web services
- JAX-WS programming model
- Web services development approaches
- Web services tools in Application Developer
- Preparing for the samples
- Creating bottom-up Web services from a JavaBean
- Creating a synchronous Web service JSP client
- Creating a Web service JSF client
- Creating a Web service thin client
- Creating asynchronous Web service clients
- Creating Web services from an EJB
- Creating a top-down Web service from a WSDL
- Creating Web services with Ant tasks
- Sending binary data using MTOM
- Web services security
- WS-Policy
- WS-MetadataExchange (WS-MEX)
- More information
- Chapter 19. Develop Web applications using Web 2.0
- Introduction to Web 2.0
- Web 2.0 features in Application Developer v7.5
- Preparing for the sample
- Developing a Web 2.0 using JSF, Ajax Proxy, and JPA
- Developing a Web 2.0 application using Dojo and RPC
- Project setup
- Architecture of the Web 2.0 application
- Exposing an RPC Adapter service
- RPC Adapter Configuration Editor
- Creating an RPC Converter
- Creating a service using a servlet
- Testing the services
- Creating the Web page
- Examining the Dojo components
- Application flow
- Logging
- Running the application
- Cleanup
- Final code
- More information on Web 2.0 and JSF
- Chapter 20. Develop applications to connect to enterprise information systems
- Introduction to Java EE Connector Architecture
- Application development for EIS
- What is new in Application Developer v7.5
- Sample application overview
- CICS outbound scenario
- CICS Channel outbound scenario
- SAP outbound scenario
- More information
- Chapter 21. Develop portal applications
- Introduction to portal technology
- Developing applications for WebSphere Portal
- New Websphere portal and portlet development tools in Rational Application Developer v7.5
- Developing portal solutions using portal tools
- More information
- Part 6 Test and debug applications
- Chapter 22. Servers and server configuration
- Introduction to server configurations
- Understanding WebSphere Application Server v7.0 profiles
- WebSphere Application Server v7.0 installation
- Using WebSphere Application Server v7.0 profiles
- Adding and removing applications to and from a server
- Configuring application and server resources
- Configuring security
- Developing automation scripts
- More information
- Chapter 23. Test using JUnit
- Chapter 24. Debug local and remote applications
- Summary of new features in v7.5
- Overview of Application Developer debugging tools
- Debugging a Web application on a local server
- Debugging a Web application on a remote server
- Jython debugger
- Debug extension for Rational Team Concert Client (Team Debug)
- More information
- Part 7 Deploy and profile applications
- Chapter 25. Build applications with Ant
- Introduction to Ant
- Ant features in Application Developer
- Preparing for the sample
- Creating a build file
- Project definition
- Global properties
- Build targets
- Content assist
- Code snippets
- Formatting an Ant script
- Defining the format of an Ant script
- Problems view
- Building a simple Java application
- Running Ant
- Ant console
- Rerun Ant
- Forced build
- Classpath problem
- Running the sample application to verify the Ant build
- Building a Java EE application
- Running Ant outside of Application Developer
- Using the Rational Application Developer Build Utility
- More information on Ant
- Chapter 26. Deploy enterprise applications
- Introduction to application deployment
- Preparing for the deployment of the EJB application
- Packaging the application for deployment
- Manual deployment of enterprise applications
- Automated deployment using Jython based wsadmin scripting
- More information
- Chapter 27. Profile applications
- Introduction to profiling
- Preparing for the profiling sample
- Profiling a Java application
- Profiling a Web application running on the server
- Importing the sample project interchange file
- Publishing and running sample application
- Starting the server in profiling mode
- Profile on server: Execution Time Analysis
- Run the sample application to collect profiling data
- Statistic views
- Execution statistics
- Execution flow
- UML sequence diagrams
- Refreshing the views and resetting data
- Ending the profiling session
- Profile on server: Memory and thread analysis
- More information
- Part 8 Management and team development
- Chapter 28. CVS integration
- Introduction to CVS
- CVS support within Application Developer
- CVSNT Server installation and implementation
- CVS client configuration for Application Developer
- Configuring CVS in Application Developer
- Development scenario
- Create and share the project (step 1 - cvsuser1)
- Adding a shared project to the workspace (step 2a - cvsuser2)
- Modifying the servlet (step 2b - cvsuser1)
- Synchronizing with the repository (step 3a - cvsuser1)
- Synchronizing with the repository (step 3b - cvsuser2)
- Parallel development (step 4 - cvsuser1 and cvsuser2)
- Creating a version (step 5 - cvsuser1)
- CVS resource history
- Comparisons in CVS
- Annotations in CVS
- Branches in CVS
- Working with patches
- Disconnecting a project
- Team Synchronizing perspective
- More information
- Chapter 29. Rational Team Concert
- Part 9 Appendixes
- Appendix A. Product installation
- Appendix B. Additional material
- Abbreviations and acronyms
- Related publications
- Index
- Back cover