WA1635 New Features of RAD 7 for WSAD v5 Developers Training and Courseware Course Outline
|
|
1. Introduction to Rational Application Developer (RAD) v7.0
|
|
- Objectives
- The RAD 7 Product
- Eclipse Platform
- Rational Web Developer
- Rational Application Developer
- Key Features in RAD v7.0
- Views, Perspective, and Editor Areas
- Basic Operations with RAD Views and Perspectives
- The Java Perspective
- The Debug Perspective
- Navigator View
- Package Explorer
- Outline View
- Task and Problems View
- Build and Validation
- Import and Export Project
- Code Completion, Templates and Snippets
- Searching
- Setup Compiler Class Path
- JRE Switching
- Refactoring
- Changing Class Name
- Changing Method Name
- Changing Variable Name
- Moving a Class to a Different Package
- Extracting Code to a Method
- Pull Up and Push Down Methods
- Migrating Workspace from RAD v6
- Project Interchange Feature
- Migrating J2EE Applications
- J2EE Migration Wizard
- Summary
|
| |
2. J2EE Programming Tools
|
|
- Objectives
- Project Explorer
- Servers View
- The J2EE Perspective
- The Web Perspective
- Create an Enterprise Application
- Setup Utility JAR
- Create an EJB Project
- Create a Web Project
- Setup Dependent JAR Files
- Create Server Instance and Server Configuration
- Configure Server Instance
- Add an Enterprise Application Project to the Test Server
- Start and Stop the Server
- Test a Servlet
- Debug a servlet
- Test a JSP
- Debug a JSP
- Summary
|
| |
3. JDK 1.4 Features
|
|
- JDK 1.4 New Features
- JDK 1.4 New Features
- JDK 1.4 New Features
- Control Flow of Logging
- Loggers
- Logging Example
- Logging API - Handlers
- Logging API Formatters & Log Manager
- Example Logging Configuration File
- JDK 1.4 - JAXP
- JDK 1.4
- JDK 1.4 - Assertions
- When to use Assertions
- Enabling Assertions
|
| |
4. New Features of Java SE 5
|
|
- New Features of Java SE 5
- Generics - defined
- Generic Class Example
- SampleGeneric Example
- Multiple Parameter Example
- Another Example
- Using SampleGeneric
- Using Multiple Parameters
- Using Point
- Java SE 5 Collection Interfaces
- Using generics with Collection classes
- Using generics with Collection classes Example
- Benefits of Generics
- Advanced LinkedList Example
- Generic Methods
- Generic Methods Continued
- Boxing
- Unboxing
- Autoboxing/unboxing
- Enhanced for loop
- Enhanced for loop in Generics
- Another Enhanced for loop Example
- Enumeration data type
- Enumeration data type Example
- Enums in Java 5.0
- Advanced Enums Reverse Lookup
- Variable-length argument Lists
- Variable-length argument Lists Example
- Variable-length argument Lists Another Example
- Summary
|
| |
5. Web Application API Changes
|
|
- Develop a Servlet in RAD
- Create a Servlet
- Run a Servlet in RAD
- Servlet 2.4
- New Methods of ServletRequest
- SingleThreadModel
- RequestDispatcher
- Internationalization
- Web.xml
- Schema for Web.xml
- Listeners
- ServletRequestListener
- ServletRequestEvent
- ServletRequestAttributeListener
- ServletRequestAttributeEvent
- Simple Tag Handler API
- Java Simple Tag Handler
- Simple Tag Handler - Example
- The Tag Library Descriptor
- JSP Page Using the Custom Action
- Working With the Tag Body
- JSP Tag Handler
- JSP Tag Handler
- Example: customer.tag File
- JSP File Using Custom Tag
- Working With the Body
- Advantages of Using Tag Files
- Summary
|
| |
6. JSP Expression Language and Standard Tag Library
|
|
- JSP Expression Language (EL)
- Basic Usage
- Built-in Objects
- Working With Arrays and Maps
- Operators
- Full Example
- JSP Standard Tag Library (JSTL 1.1)
- JSP Standard Tag Library (JSTL 1.0)
- Run Time Version (JSTL 1.0)
- Basic Tags
- Condition Tags
- Interator Tags
- Internationalization (I18N)
- Setting Preferred Locale
- Specifying Resource Bundle
- Display Translated Text
- Display Number
- Display Date
- JDBC Tags
- Specify Data Source
- Performing a Query
- Display Result
- Pagination Example
|
| |
7. Introduction to JavaServer Faces
|
|
- What is JavaServer Faces (JSF)?
- Why Use JSF?
- Nature of a JSF Application
- The Sun Reference Implementation (RI)
- JSF and MVC
- Faces Servlet
- Managed Bean
- The View
- A Simple JSF Application
- The Input Form: form.jsp
- The Result: thanks.jsp
- The Controller: AddressBean
- Page Flow or Navigation Rule
- How Does the Application Work?
- Under the Covers: The Rendered Form HTML
- Under the Covers: The Layout Tree
|
| |
8. EJB 2.1 Changes
|
|
- Service Endpoint Interface
- Other JAX RPC Artifacts
- Developing a JAX RPC Web Services in RAD 6
- JAX RPC Client programming Model
- Example: Dynamic Proxy
- Example: Dynamic Proxy with JNDI
- Container-Managed Timer Service
- EJB Timer Service
- Interaction between Timer Service and EJB
- Timer Service API
- Timer Service Interface
- TimedObject Interface
- Timer Interfaces
- Timer Interface
- Example Of A TimerBean
- Example Of A TimerBean
- Timer and Transaction
- Limitations of EJB Timer Service
- EJB QL Enhancements
- Annotation Based EJB Development
- Annotation Scope
- The @ejb.bean Tag
- The @ejb.home and @ejb.interface Tags
- The @ejb.interface-method Tag
- Annotation Based EJB Development
- Create an Annotated Bean Class
- Enhanced EAR File
- Enhanced EAR File Editor
- Deployment Descriptor Of An Enterprise File
- Exporting an Enterprise Application into an EAR File
- Exporting an Enterprise Application
- Summary
|
| |
9. Test-Driven Development with JUnit
|
|
- Component Testing
- Component Test
- Testing Frameworks
- JUnit
- JUnit TestCase
- Assert Statements
- TestSuite
- TestRunners
- JUnit in RAD
- Add junit.jar Manually
- JUnit in RAD
- Component Testing
- Components to Test
- EJB Testing
- Web Service Testing
- Summary
|
| |
10. Application Profiling
|
|
- Profiling Tool
- Profiling Architecture
- Profiling Sets (3)
- Enable Profiling and Logging
- Profiling a Java Class
- Configure Profiling Criteria
- Profiling Monitor View
- Memory Usage Profiling
- Memory Leak Analysis
- Example: Memory Leak
- Transaction-Oriented Memory Leak Analysis
- Starting a server in profiling mode Agent Controller
- Starting a server in profiling mode
- Collecting object references
- Object Reference Table
- Execution Flow View
- Identify Performance Bottlenecks
- Method Invocation Details view
- Thread Analysis
- Execution Flow - Threads
- UML2 Trace Interaction view
- UML2 Trace Interaction views
- Summary
|
| |
11. Code Review
|
|
- Code Review
- Types of Code Review
- Rule
- Rule Severity Level
- Information on a Rule
- Analysis Configurations
- Configuring Code Reviews
- Configure the Review Rules
- Create User Defined Rule
- Select a Template Window
- Rule Properties
- Perform Automated Code Review
- Run Code Review
- Code Review Details
- Quick Fixes
- Summary
|
| |
12. Code Coverage
|
|
- Code Coverage
- Code Coverage Displays
- Coverage Statistics
- Package Statistics
- Class Statistics
- Method Invocation View
- Method Invocation view
- Method Invocation Details
- Method Invocation Details view
- Code Coverage Statistics view
- Coverage Statistics View
- Summary
|
| |
13. WebSphere Programming Model Extensions 1
|
|
- WebSphere Programming Model Extensions
- Startup Bean
- Why Startup Bean
- Steps for Creating a Startup Bean
- Methods for Startup Beans
- Enable Startup Bean Service
- Asynchronous Beans
- Asynchronous Beans
- Asynchronous beans
- Transactions in Async. Beans
- Work Managers
- Work Manager Properties
- Work Manager Screen
- Example of a Work Object
- Using a Work Object
- Scheduler Service
- Configuring Schedulers
- Admin Console Configuration
- Scheduler Configuration
- Scheduler Tasks
- Developing Scheduler Clients
- Create a Task Handler EJB
- Create a Scheduler Bean
- Create a Process() Method in an Session Bean
- Create an EJB Task
- Create an EJB Task cont
- Create an EJB Task cont
- Create a JMS Message Task
- Summary
|
| |
14. WebSphere Programming Model Extensions 2
|
|
- Work Area
- Work Area Service
- Work Area Service Settings
- UserWorkArea Interface
- Work Area Property Modes
- Work Area Considerations
- Bidirectional Work Areas
- Nested Work Areas
- Using Work Areas
- Completing Work Areas
- Object Pool
- Object Pool Manager
- ObjectPoolManager and ObjectPool Interfaces
- Object Pool Service Settings
- Configure Object Pool Manager
- Custom Object Pools
- Sample Code
- Application Profile
- Access Intent
- Application Profile
- Unit of Work
- Enable Application Profiling
- Summary
|
| |
15. Dynamic Caching for Web Applications
|
|
- Introduction
- Configuring Dynamic Cache
- How Caching Works
- Structure of cachespec.xml
- URL Based Caching
- Session Based Cache
- Cache Priority
- Configuring Cache Manager
- Edge Side Include (ESI) Cache
- Configuring ESI Cache
|
| |
16. Introduction to Web Services
|
|
- Objectives
- A Conceptual Look at Services
- Defining Services
- Service Communication Analogy
- Three Key Service Questions
- Connecting the Dots
- SOA Runtime Implementation
- What is a Web Service?
- Enterprise Assets as Services
- Typical Development Workflow
- Advantages of Web Services
- Web Service Business Models4
- Example: Internal System Integration
- Example: Business Process Externalization
- Binding via SOAP
- SOAP in Protocol Stack
- SOAP Structure
- SOAP Message Architecture
- Applying SOAP
- Interface via WSDL
- WSDL Structure
- Applying WSDL
- Locating a Service
- UDDI Overview
- UDDI Terminology
- UDDI Structure
- Applying UDDI
- WS-I Overview
- WS-I Deliverables
- Summary
|
| |
17. WebSphere V6.1 Support for Web Services
|
|
- Overview
- Introduction
- Web Service Runtimes
- Service in a Web Container
- Example Java Class
- Generated Artifacts
- How Does the Wizard Generate All That?
- Web Services Deployment Descriptor
- Example: webservices.xml
- webservices.xml Editor
- The Generated WSDL File
- The WSDL Editor
- Service in an EJB Container
- Generated Artifacts
- Web Services Deployment Descriptor
- Client Development
- Generated Artifacts
- The Service Reference
- The Proxy Class
- Summary
|
| |