Book description
IBM® Rational® Application Developer for WebSphere® Software V8 is the full-function Eclipse 3.6 technology-based development platform for developing Java™ Platform, Standard Edition Version 6 (Java SE 6) and Java Platform, Enterprise Edition Version 6 (Java EE 6) applications. Beyond this function, Rational Application Developer provides development tools for technologies, such as OSGi, Service Component Architecture (SCA), Web 2.0, and XML. It has a focus on applications to be deployed to IBM WebSphere Application Server and IBM WebSphere Portal.
Rational Application Developer provides integrated development tools for all development roles, including web developers, Java developers, business analysts, architects, and enterprise programmers.
This IBM Redbooks® publication is a programming guide that highlights the features and tooling included with Rational Application Developer V8.0.1. Many of the chapters provide working examples that demonstrate how to use the tooling to develop applications and achieve the benefits of visual and rapid application development. This publication is an update of Rational Application Developer V7.5 Programming Guide, SG24-7672.
Table of contents
- Front cover
- Notices
- Preface
- Part 1 Introduction to Rational Application Developer
- Chapter 1. Introduction
- Chapter 2. Programming technologies
- Chapter 3. Workbench setup and preferences
-
Chapter 4. Perspectives, views, and editors
- 4.1 Integrated development environment
- 4.2 Help system for Rational Application Developer
-
4.3 Available perspectives
- 4.3.1 CVS Repository Exploring perspective
- 4.3.2 Data perspective
- 4.3.3 Database Debug perspective
- 4.3.4 Database Development perspective
- 4.3.5 Debug perspective
- 4.3.6 Java perspective
- 4.3.7 Java Browsing perspective
- 4.3.8 Java EE perspective
- 4.3.9 Java Type Hierarchy perspective
- 4.3.10 JavaScript perspective
- 4.3.11 JPA perspective
- 4.3.12 Modeling perspective
- 4.3.13 Plug-in Development perspective
- 4.3.14 Profiling and Logging perspective
- 4.3.15 Report Design perspective
- 4.3.16 Resource perspective
- 4.3.17 Team Synchronizing perspective
- 4.3.18 Test perspective
- 4.3.19 Web perspective
- 4.3.20 XML perspective
- 4.3.21 Progress view
- 4.4 Summary
- Chapter 5. Projects
- Chapter 6. Unified Modeling Language
- Part 2 Java and XML development
-
Chapter 7. Developing Java applications
- 7.1 Java perspectives, views, and editor overview
- 7.2 Java perspective
- 7.3 Java Browsing perspective
- 7.4 Java Type Hierarchy perspective
- 7.5 Developing the ITSO Bank application
-
7.6 ITSO Bank application step-by-step development guide
- 7.6.1 Creating a Java project
- 7.6.2 Creating a UML class diagram
- 7.6.3 Creating Java packages
- 7.6.4 Creating Java interfaces
- 7.6.5 Creating Java classes
- 7.6.6 Creating Java attributes (fields) and getter and setter methods
- 7.6.7 Adding method declarations to an interface
- 7.6.8 Adding constructors and Java methods to a class
- 7.6.9 Creating relationships between Java types
- 7.6.10 Implementing the classes and methods
- 7.6.11 Running the ITSO Bank application
- 7.6.12 Creating a run configuration
- 7.6.13 Understanding the sample code
- 7.6.14 Additional features used for Java applications
- 7.6.15 Using scripting inside the JRE
- 7.6.16 Analyzing the source code
- 7.6.17 Debugging a Java application
- 7.7 Using the Java scrapbook
- 7.8 Generating the Javadoc
-
7.9 Java editor and rapid application development
- 7.9.1 Navigating through the code
- 7.9.2 Source folding
- 7.9.3 Type hierarchy
- 7.9.4 Smart insert
- 7.9.5 Marking occurrences
- 7.9.6 Smart compilation
- 7.9.7 Java and file search
- 7.9.8 Working sets
- 7.9.9 Quick fix
- 7.9.10 Quick assist
- 7.9.11 Content assist
- 7.9.12 Import generation
- 7.9.13 Adding constructors
- 7.9.14 Using the delegate method generator
- 7.9.15 Refactoring
- 7.10 More information
- Chapter 8. Developing XML applications
- Part 3 Persistence and enterprise information system integration development
- Chapter 9. Developing database applications
-
Chapter 10. Persistence using the Java Persistence API
- 10.1 Introducing the Java Persistence API
- 10.2 Creating a JPA project
- 10.3 Creating JPA entities
- 10.4 Creating a JPA Manager Bean
- 10.5 Visualizing JPA entities
-
10.6 Testing JPA entities
- 10.6.1 Creating the Java project for entity testing
- 10.6.2 Creating a Java class for entity testing
- 10.6.3 Setting up the build path for OpenJPA
- 10.6.4 Setting up the persistence.xml file
- 10.6.5 Creating the test
- 10.6.6 Running the JPA entity test
- 10.6.7 Displaying the SQL statements
- 10.6.8 Adding inheritance
- 10.7 Preparing the entities for deployment in the server
- 10.8 More information
- Chapter 11. Developing applications to connect to enterprise information systems
- Part 4 Enterprise and service-oriented architecture (SOA) application development
- Chapter 12. Developing Enterprise JavaBeans (EJB) applications
-
Chapter 13. Developing Java Platform, Enterprise Edition (Java EE) application clients
- 13.1 Introduction to Java EE application clients
- 13.2 Overview of the sample application
- 13.3 Preparing the sample application
-
13.4 Developing the Java EE application client
- 13.4.1 Creating the Java EE application client projects
- 13.4.2 Configuring the Java EE application client projects
- 13.4.3 Importing the graphical user interface and control classes
- 13.4.4 Creating the BankDesktopController class
- 13.4.5 Completing the BankDesktopController class
- 13.4.6 Creating an EJB reference and binding
- 13.4.7 Registering the BankDesktopController class as the main class
- 13.5 Testing the Java EE application client
- 13.6 Packaging the Java EE application client
-
Chapter 14. Developing web services applications
- 14.1 Introduction to web services
- 14.2 New function in Java EE 6 for web services
- 14.3 JAX-WS programming model
- 14.4 Web services development approaches
- 14.5 Web services tools in Rational Application Developer
- 14.6 Preparing for the JAX-WS samples
- 14.7 Creating bottom-up web services from a JavaBean
- 14.8 Creating a synchronous web service JSP client
- 14.9 Creating a web service JavaServer Faces client
- 14.10 Creating a web service thin client
- 14.11 Creating asynchronous web service clients
- 14.12 Creating web services from an EJB
- 14.13 Creating a top-down web service from a WSDL
- 14.14 Creating web services with Ant tasks
- 14.15 Sending binary data using MTOM
- 14.16 JAX-RS programming model
- 14.17 Web services security
- 14.18 WS-Policy
- 14.19 WS-MetadataExchange (WS-MEX)
- 14.20 Security Assertion Markup Language (SAML) support
- 14.21 More information
- Chapter 15. Developing Open Services Gateway initiative (OSGi) applications
-
Chapter 16. Developing Service Component Architecture (SCA) applications
- 16.1 Introduction to SCA
- 16.2 SCA project creation or augmentation
- 16.3 Developing a Java component from a WSDL interface
- 16.4 Creating a contribution to include the deployable composites
- 16.5 Deploying the contribution to WebSphere Application Server
- 16.6 Testing the services provided by the SCA application
-
16.7 Wiring a component to a service on another component
- 16.7.1 Creating a reference to an external Atom feed provider
- 16.7.2 Exposing a service with an Atom binding
- 16.7.3 Adding a contribution and testing the initial implementation
- 16.7.4 Adding a second component to the composite
- 16.7.5 Wiring the reference on one component to the service on the other component
- 16.7.6 Using a property defined in a component and a composite
- 16.7.7 Testing the implementation by exporting the contribution
- 16.8 Reusing an existing Java EE application to create a component
- 16.9 Adding intents and policies
- 16.10 More information
- Chapter 17. Developing Modern Batch jobs on computing grids
- Part 5 Web application development
-
Chapter 18. Developing web applications using JavaServer Pages (JSP) and servlets
- 18.1 Introduction to Java EE web applications
- 18.2 Web development tooling
- 18.3 Rational Application Developer new features
- 18.4 RedBank application design
-
18.5 Implementing the RedBank application
- 18.5.1 Creating the web project
- 18.5.2 Importing the Java RedBank model
- 18.5.3 Defining the empty web pages
- 18.5.4 Creating frameset pages
- 18.5.5 Customizing frameset web page areas
- 18.5.6 Customizing a style sheet
- 18.5.7 Verifying the site navigation and page templates
- 18.5.8 Developing the static web resources
- 18.5.9 Developing the dynamic web resources
- 18.5.10 Working with JSP
- 18.6 Web application testing
- 18.7 More information
-
Chapter 19. Developing web applications using JavaServer Faces
- 19.1 Introduction to JSF
-
19.2 Developing a web application using JSF and JPA
- 19.2.1 Setting up the ITSOBANK database
- 19.2.2 Creating the JSF Project
- 19.2.3 Creating Facelet templates
- 19.2.4 Creating Facelets
- 19.2.5 Creating JPA Manager Beans
- 19.2.6 Creating JPA page data
- 19.2.7 Editing the login page
- 19.2.8 Editing the customer details page
- 19.2.9 Using Ajax
- 19.2.10 Running the JSF application
- 19.2.11 Final code
- 19.3 More information
- Chapter 20. Developing web applications using Web 2.0
-
Chapter 21. Developing portal applications
- 21.1 Introduction to portal technology
- 21.2 Developing applications for WebSphere Portal
- 21.3 New WebSphere portal and portlet development tools in Rational Application Developer
-
21.4 Developing portal solutions using portal tools
- 21.4.1 Developing event handling portlets
- 21.4.2 Creating Ajax and Web 2.0 portlets
- 21.4.3 Deploying and running the application
- 21.4.4 Creating a portal site with the Site Designing Portlet feature
- 21.4.5 Developing Dojo-based inter-portlet communication
- 21.4.6 Consuming RPC adapter services
- 21.4.7 Creating iWidget projects
- 21.4.8 JPA tooling support for portlet projects
- 21.5 More information
- Chapter 22. Developing Lotus iWidgets
- Part 6 Deploying, testing, profiling, and debugging applications
-
Chapter 23. Cloud environment and server configuration
- 23.1 Introduction to server configurations
- 23.2 Cloud extensions: Developing and testing applications on the IBM Smart Business, Development, and Test Cloud
- 23.3 Understanding WebSphere Application Server v8.0 profiles
- 23.4 WebSphere Application Server v8.0 Beta installation
- 23.5 Using WebSphere Application Server profiles
- 23.6 Migrating the server resources from Rational Application Developer V7.0 or V7.5 to V8.0
- 23.7 Adding and removing applications to and from a server
- 23.8 Configuring application and server resources
- 23.9 Configuring security
- 23.10 AJAX Test Server
- 23.11 Developing automation scripts
- 23.12 Tips: Enhancing server interaction performance
- 23.13 More information
-
Chapter 24. Building applications with Apache Ant
- 24.1 Introduction to Ant
- 24.2 Ant features in Rational Application Developer
- 24.3 New Ant features in Rational Application Developer
- 24.4 Building a Java EE application
- 24.5 Running Ant outside of Rational Application Developer
- 24.6 Using the Rational Application Developer Build Utility
- 24.7 More information about Ant
-
Chapter 25. Deploying enterprise applications
- 25.1 Introduction to application deployment
- 25.2 Preparing for the EJB application deployment
- 25.3 Packaging the application for deployment
- 25.4 Manual deployment of enterprise applications
-
25.5 Automated deployment using Jython-based wsadmin scripting
- 25.5.1 Overview of wsadmin
- 25.5.2 Overview of Jython
- 25.5.3 Developing a Jython script to deploy the ITSO Bank
- 25.5.4 Executing the Jython script
- 25.5.5 Verifying the application after automatic installation
- 25.5.6 Generating WebSphere admin commands for Jython scripts
- 25.5.7 Debugging Jython scripts
- 25.6 More information
- Chapter 26. Testing using JUnit
-
Chapter 27. Profiling applications
- 27.1 Introduction to profiling
- 27.2 Preparing for the profiling sample
-
27.3 Profiling a Java application
- 27.3.1 Importing the sample project archive file
- 27.3.2 Creating a profiling configuration
- 27.3.3 Running the EntityTester application
- 27.3.4 Analyzing profiling data
- 27.3.5 Execution statistics
- 27.3.6 Execution flow
- 27.3.7 UML sequence diagrams
- 27.3.8 Memory analysis
- 27.3.9 Thread analysis
- 27.3.10 Reports
- 27.3.11 Cleanup
-
27.4 Profiling a web application running on the server
- 27.4.1 Importing the sample project archive file
- 27.4.2 Setting up environment variables to profile a server
- 27.4.3 Publishing and running the sample application
- 27.4.4 Starting the server in profiling mode
- 27.4.5 Running the sample application to collect profiling data
- 27.4.6 Statistics views
- 27.4.7 Execution statistics
- 27.4.8 Execution flow
- 27.4.9 UML sequence diagrams
- 27.4.10 Refreshing the views and resetting data
- 27.4.11 Ending the profiling session
- 27.4.12 Profile on server: Memory and thread analysis
- 27.5 More information
-
Chapter 28. Debugging local and remote applications
- 28.1 Introducing Rational Application Developer new features
- 28.2 Reviewing Rational Application Developer debugging tools
-
28.3 Debugging a web application on a local server
- 28.3.1 Importing the sample application
- 28.3.2 Running the sample application in debug mode
- 28.3.3 Setting breakpoints in a Java class
- 28.3.4 Using the Debug perspective
- 28.3.5 Watching variables
- 28.3.6 Evaluating and watching expressions
- 28.3.7 Using the Display view
- 28.3.8 Working with breakpoints
- 28.3.9 Setting breakpoints in JSP
- 28.3.10 Debugging JSP
- 28.4 Debugging a web application on a remote server
- 28.5 Using the Jython debugger
- 28.6 Using the JavaScript debugger
- 28.7 Using Dojo Debug Extension for Firebug
- 28.8 Using the debug extension for the Rational Team Concert client (Team Debug)
- 28.9 Obtaining more information
- Part 7 Management and team development
-
Chapter 29. Concurrent Versions System (CVS) integration
- 29.1 Introduction to CVS
- 29.2 Configuring the CVS client for Rational Application Developer
- 29.3 Configuring CVS in Rational Application Developer
-
29.4 Development scenario
- 29.4.1 Creating and sharing the project (step 1, cvsuser1)
- 29.4.2 Adding a shared project to the workspace (step 2a, cvsuser2)
- 29.4.3 Modifying the servlet (step 2b, cvsuser1)
- 29.4.4 Synchronizing with the repository (step 3a, cvsuser1)
- 29.4.5 Synchronizing with the repository (step 3b, cvsuser2)
- 29.4.6 Parallel development (step 4, cvsuser1 and cvsuser2)
- 29.4.7 Creating a version (step 5, cvsuser1)
- 29.5 CVS resource history
- 29.6 Comparisons in CVS
- 29.7 Annotations in CVS
- 29.8 Branches in CVS
- 29.9 Working with patches
- 29.10 Disconnecting a project
- 29.11 Team Synchronizing perspective
- 29.12 More information
- Chapter 30. IBM Rational Application Developer integration with Rational Team Concert
-
Chapter 31. IBM Rational ClearCase
- 31.1 Rational Application Developer team support
- 31.2 Integrating Rational Application Developer with ClearCase
- 31.3 ClearCase SCM Adapter
- 31.4 ClearCase Remote Client
- 31.5 ClearCase views and Rational Application Developer workspaces
- 31.6 Populating Rational Application Developer workspaces: Using Team Project Set files
- 31.7 Working in Base ClearCase with SCM Adapter and dynamic views
-
31.8 Working in ClearCase UCM with ClearCase Remote Client
- 31.8.1 Prerequisites
- 31.8.2 Connecting to the ClearCase Change Management Server and joining a UCM project
- 31.8.3 Initiating work in the development view or stream
- 31.8.4 Delivering activities to the integration stream
- 31.8.5 Reviewing the results and creating a new baseline
- 31.8.6 A new user joins the project
- 31.8.7 Another user modifies the same project
- 31.9 More information
-
Chapter 32. Code Coverage
- 32.1 Overview
- 32.2 Generating coverage statistics in Rational Application Developer
- 32.3 Generating reports
- 32.4 Generating statistics outside of the workbench
- 32.5 Coverage report comparison
- 32.6 Importing the coverage data statistics file
- 32.7 Generating statistics for web applications
- 32.8 Rational Team Concert integration
- Chapter 33. Developing Session Initiation Protocol applications
- Part 8 Appendixes
-
Appendix A. Installing the products
- Download locations
- Installation Launchpad
- IBM Installation Manager
- Installing Rational Application Developer
- Installing WebSphere Portal V7
- Installing IBM Rational Team Concert
- Installing Rational Application Developer Build Utility
- Installing IBM Rational ClearCase
- Installing IBM Rational ClearCase Remote Client Extension
- Configuring ClearCase for UCM development
- Appendix B. Performance tips for Rational Application Developer
- Appendix C. Additional material
- Related publications
- Back cover
Product information
- Title: Rational Application Developer for WebSphere Software V8 Programming Guide
- Author(s):
- Release date: April 2011
- Publisher(s): IBM Redbooks
- ISBN: 9780738435596
You might also like
book
Eclipse Web Tools Platform: Developing Java™ Web Applications
Discover WTP, the New End-to-End Toolset for Java-Based Web Development The Eclipse Web Tools Platform (WTP) …
book
JavaFX Rich Client Programming on the NetBeans Platform
JavaFX is a state-of-the-art graphics toolkit that is now built into Java and can be easily …
book
Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications
Proven techniques and patterns for enterprise development. Design guidelines for EJB 2.0 component architecture Powerful patterns …
book
SOA with Java: Realizing Service-Orientation with Java Technologies
“An outstanding depth-and-breadth resource for IT architects and Java professionals to understand and apply the marriage …