Audience
This is an intermediate course for existing J2EE Web developers interested in learning IBM Rational Application Developer for WebSphere Software V6. Familiarity with J2EE Web application development and strong Java programming skills are required.
:: Course WF531 ::
Prerequisites
You should have knowledge of the following topics:
Java programming
Familiarity with J2EE for Web development (HTML, JSPs, and servlets)
Basics of Extensible Markup Language (XML)
Using relational databases
The design-implement-test-deploy stages of application development
Object-oriented design and analysis
What's Next
Individuals interested in Enterprise JavaBeans (EJB) and J2EE best practices should take the following courses:
Developing EJBs with IBM Rational Application Developer V6.0 (WF351)
WebSphere Best Practices Mentored Workshop (WS801)
Skills taught
Use IBM Rational Application Developer for WebSphere Software V6 to effectively build J2EE Web applications
Create, test, and debug J2EE Web components with IBM Rational Application Developer for WebSphere Software
V6
Build Web applications using the visual editing tools of IBM Rational Application Developer for WebSphere
Software V6
Develop applications in IBM Rational Application Developer for WebSphere Software V6 that uses the Struts or
JSF frameworks
Perform runtime analysis of Web applications using the profiling tools of IBM Rational Application Developer for
WebSphere Software V6
Course outline
Course introduction
This unit describes the prerequisites skills for the course, presents the exit skills, and gives a brief overview of the course agenda.
describe the course objectives understand the prerequisites skills needed to take this course list the agenda for the course
:: Course WF531 ::
IBM Rational Application Developer basics
This module introduces the workbench of IBM Rational Application Developer and discusses menu and context menu features as well as the management of workspaces.
describe the main features and themes of IBM Rational Application Developer identify the parts of the workbench open, reset and customize perspectives open and arrange views and fast views in a perspective create new resources using wizards import and export resources from the workspace set capabilities and roles to enable features name help resources
Develop Java applications
This unit introduces the Java application development features within IBM Rational Application Developer. Learn how to use different wizards, views, and editors to create and manage Java application code.
create Java projects, classes, interfaces, and packages using wizards edit Java classes using the Java editor and associated views refactor Java resources test simple programs using the Java Scrapbook add statements using the snippets feature document Java applications using Unified Modeling Language (UML) diagrams manage dependent projects and the Java build path customize the Java development tools through Java preferences
Web tool basics
This module describes the Web's perspective in IBM Rational Application Developer. Also described are the steps for setting up a Web project, together with its dependencies, classpath, and associated resources.
understand the key views of the Web perspective set options to create a Web project create templates for Web pages locate resources within the structure of the Web project using the project explorer
Develop Web applications visually
This unit introduces the visual tools used to design Web sites:
Web site designer
Web diagram editor
:: Course WF531 ::
The Web site designer allows you to maintain navigation links and site maps of a Web site. You can also apply a standard page template or style sheet to the entire Web site using this feature.
The Web diagram editor examines the internal flow of a dynamic Web application. For each request into the application, this tool allows you to describe the Web resources that help formulate the response.
create and manage a Web site hierarchy through the Web site designer apply a common page template and style sheet using the Web site designer create navigation elements that are automatically updated by IBM Rational Application Developer create nodes and connections in a Web Diagram Editor
Servlet, filters, and listeners
This unit describes the Web application development features for servlets, filters, and listeners. Step-by-step instructions guide individuals on how to create each one of these three artifacts. Sections of the Web deployment descriptor that relates to these artifacts will also be discussed.
create servlets using IBM Rational Application Developer V6 wizards configure servlet initialization and reference settings through the deployment descriptor editor add and configure servlet filtersa add and configure servlet event listeners
Use the WebSphere test environment
This module describes the use of the IBM Rational Application Developer integrated WebSphere Application Server environment. It discusses how to add projects to the server and how to test resources using the Universal Test Client
(UTC).
test a Web application in the WebSphere test environment add project to a WebSphere test environment configure server settings add other server types to the servers view use TCP/IP monitor locate and viewing test server logs
Create and edit HTML and JavaServer Page (JSP) Web pages
This module describes the Page Designer, an editor for static and dynamic Web pages and the views typically used with the Page Designer. It explains how to use the Web perspective to create JSP and HTML Web pages.
understand the options of the JSP wizard configure HTML and JSP tags using the properties view understand the tag hierarchy in the properties view use the palette view to add content to an HTML or JSP page use the page data view use the quick edit view to code JavaScript into Web pages use the source page to edit documents use the menus to edit HTML and JSP create and edit cascading stylesheets using the style view add welcome and error pages
:: Course WF531 ::
Automated component test
This unit describes the automated component test feature in IBM Rational Application Developer for WebSphere Software
V6. Based on the open-source Eclipse Test and Performance Tools Platform project, this framework allows developers to create, run, and manage unit tests for enterprise applications.
perform a unit test on a Web application in IBM Rational Application Developer for WebSphere Software create test artifacts to build unit tests analyze potential sources of error using test metrics record HTTP requests for unit testing Uniform Resource Locator (URL) resources review test execution results graphically
Connecting to a database
This module examines how Web developers can use the data perspective to examine data sources. Developers can use the features in the data perspective to retrieve the database schema or sample database contents. The SQL statement wizard aids developers in designing a query statement.
use the database tools to assist in developing Web applications create connections and filters to select particular artifacts in the data perspective use the SQL statement wizard to generate SQL statements
Debug Web applications
This module explains how developers can debug Web applications running on WebSphere Application Server through the debug perspective. Developers need to understand the breakpoint properties and debug stepping modes that the debug engine provides. The module also covers the differences between debugging Java applications and Web components, such as JSPs.
add and configuring breakpoints in a Web application use different debug step modes view and change variables execute, display and inspect expressions debug components selectively using step filtering debug JSP pages configure debugging on a remote WebSphere Application Server
Code review
This unit describes how developers can analyze applications for coding violations. This feature uses rules defined in IBM
Rational Application Developer V6 that define best practices that an application should follow. Developers can run code review on the application and then go through the list to fix or modify code. This increases the readability and performance of the application.
explain the purpose of code reviews identify code review categories perform a J2EE code review on a Web application create custom code review rules
:: Course WF531 ::
J2EE application frameworks
This module introduces the concept of application frameworks. Application frameworks implement common parts of a
Web application. Using this strategy, developers can focus on the business logic as opposed to the underlying application engine. This module is a preface to the struts and JSF topics.
explain the concept of an application framework explain the advantages of using an application framework describe the model-view-controller paradigm
Introduction to Struts
This module introduces the Struts Web application framework. IBM Rational Application Developer guides developers in creating a Struts application through the wizards and Web diagram editor. The wizard generates Struts components, such as JSP pages and actions. The second feature, the Web diagram editor, displays the transition between JSP pages through actions.
describe the components of the Struts framework create a Struts project in IBM Rational Application Developer understand the Struts configuration file
Introduction to JSF
This module introduces the concept of JSF. JSF is a Web application framework designed for graphical Web page editors.
Developers create JSF JSP pages using IBM Rational Application Developer's page designer. Using this interface, developers add and configure dynamic elements known as Faces components.
identify the components of a JSF application develop a JSF application using IBM Rational Application Developer add data to page data and client data views add and configure common Faces components to JSPs
Application profiling
This module describes the steps involved in analyzing the run time behavior of Java applications. The profiling tools within Rational Application Developer helps developers identify performance and memory usage problems. These tools also work in concert with WebSphere Application Server to monitor and analyze Web application performance.
describe the purpose of application profiling in software development detect memory leaks with the profiler detect thread contention and deadlock with the profiler detect performance bottlenecks with the profiler examine code coverage from test runs add custom probes into your application
:: Course WF531 ::
Configure Web applications
This unit provides instructions on how to enable security for Web applications. Application assemblers need to gather and configure J2EE security roles; administrators need to configure security settings in WebSphere Application Server to support these roles. This unit assumes that the audience has a good understanding of J2EE security concepts and practices.
apply role-based security to a Web application gather roles in the application deployment descriptor configure a Web application authentication method set security role references for servlets enable global security in the test environment
Packaging Web applications
This unit explains how to package Web applications in IBM Rational Application Developer. An enterprise applications needs to be saved in a J2EE package before it can be deployed and installed on an application server. Developers can also use J2EE packages to share applications between workspaces. Before starting this unit, you should have a good understanding of the concept and structure of J2EE packages.
package J2EE Web applications identify the structure of Enterprise Archive (EAR), Web Application Archive (WAR), Java Archive (JAR) export Web applications using wizards set deployment information in the enhanced EAR
Deploy and install Web applications
This module covers the steps necessary to deploy and install a packaged Web application to WebSphere Application
Server. Two scenarios are introduced: installing an enterprise application and installing a Web application to the default enterprise application.
deploy Web applications to WebSphere Application Server install Web application through the administrative console
Introduction to portals
Developers can reach beyond Struts and JSF by using the interactive framework that are called portals, associating many portlet applications via one or more pages. This unit presents a high-level overview of the framework and gives suggestions for further study.
understand what are portal and portlets are define the services offered by the portal framework describe the portal tools distinguish the various types of portlets you can create in IBM Rational Application Developer V6 run portlets in the portal test environment
:: Course WF531 ::
Wrap-up
This unit summarizes the course and provides useful links for further information about the topics covered.
summarize the course discuss more information on the topics covered in the course
Agenda
Course introduction
IBM Rational Application Developer basics
Develop Java applications
Exercise - Develop a Java application
Web tool basics
Develop Web applications visually
Exercise - Create a Web application with the Web site navigation editor
Servlet, filters, and listeners
Use the WebSphere test environment
Exercise - Create a servlet and a servlet filter
Create and edit HTML and JSP pages
Exercise - Create JSPs
Automated component test
Exercise - Test a Web application
Connecting to a database
Exercise - Connect to a database
Debug Web applications
Exercise - Debug a Web application
Code review
Exercise - Analyze an application with code review
J2EE application frameworks
Introduction to Struts
Exercise - Create a Struts application
Introduction to JSF
Exercise - Create a JSF application
Application profiling
Configure Web applications
Packaging Web applications
Deploy and install Web applications
Exercise - Package and deploy a J2EE application
Introduction to portals
Wrap-up
This is a version-specific reference outline. Confirm the current syllabus and delivery arrangements with EIEIO.