This course teaches Java developers how to use RAD to develop n-tier J2EE applications.
1. Web Application API Changes
- Develop a Servlet in RAD
- Create a Servlet
- Create a Servlet
- Run a Servlet in RAD
- Servlet 2.4
- New Methods of ServletRequest
- SingleThreadModel
- RequestDispatcher
- RequestDispatcher
- Internationalization
- Internationalization
- Web.xml
- Schema for Web.xml
- Listeners
- ServletRequestListener
- 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
2. 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
3. Service Data Objects
- Service Data Objects
- Service Data Objects - Why
- Service Data Objects
- SDO - Components
- Data Object
- Data Graphs
- Data Mediator
- SDO Data Graph
- Components of SDO
- UML Model of Core SDO Components
- Add Support for SDO in RAD
- What is Relational Record
- Relational Record
- Relational Record-Connection
- Relational Record - New Connection
- Relational Record - Properties
- Relational Record - Column Selection
- Database Explorer View
- What is Relational Record List
- Relational Record List
- Relational Record List - Properties
- Record List – Column Selection
- Relational Record/List – Page Data View
- Create a JSF File
- Bind Relational Record to JSF File
- XML Artifacts Created for Relational Record – employeerec
- XML Artifacts Created for Relational Record List - employeelist
- The SDO API
- Java API for SDO
- DataObject Interface
- DataGraph
- ChangeSummary
- ChangeSummary Interface
- Type
- Type Interface
- Property
- Summary
4. Automated Component Testing
- 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
- Create a Component Test Project
- Creating Individual Component Test
- Select the Components to Test
- Customizing Component Tests
- Select a Test Pattern for EJB
- Select the EJB Interfaces
- Define Test Scenario
- Java Testing
- Component Under Test
- Test Pattern
- Define a Java Test Scenario
- Web Service Component Test
- Select the Web Service Under Test
- Test Scenario Page
- Test Data Table
- Define Set of Values
- Run the Test
- Examine Test Results
- Test Data Comparator
- Summary
5. Application Profiling
- Profiling Tool
- Profiling Architecture
- Enable the Profiling and Logging
- Profile on Server
- Profiling Monitor View
- Set the package to profile
- Memory Usage Profiling
- Memory Leak Analysis
- Heap Dump Captured
- Analyze for Leaks
- Leak Candidates View
- Object Reference Graph
- Execution Time Analysis
- Method Statistics View
- Thread Analysis
- Thread View
- Thread Contention
- Thread Deadlock
- Identify Source of Thread Problems
- UML2 Object Interaction View
- Summary
6. Code Review
- Code Review
- Types of Code Review
- Rule
- Rule Severity Level
- Information on a Rule
- Rule Categories
- Configuring Code Reviews
- Exclude Packages and Classes from the Review
- Configure the Review Rules
- Setting the Code Review Options
- Create User Defined Rule
- Select a Template Window
- Rule Properties
- User Defined Rule
- Perform Automated Code Review
- Run Code Review
- Code Review Details
- Run Code Review
- Quick Fixes
- Summary
7. UML Visualization
- UML Visualization Diagrams
- Class Diagrams
- Adding a Class
- Modifying the Class
- Adding a Field
- Adding a Method
- Modeling Relationships
- Associations
- Modeling Associations
- Modeling Dependency
- Modeling Polymorphism
- Sequence Diagram
- Browse Diagram View
- Browse Diagram
- Browser Diagram for Java Classes
- Enterprise Element - Browse Diagram
- Data Objects - Browse Diagram
- Data Objects – Browse Diagram
- Modeling Data Objects
- Topic Diagrams
- Topic Diagram
- Topic Diagrams – Enterprise Bean
- Topic Diagrams – Data Objects
- Topic Diagram - Data Object
- J2EE Visualizing View
- J2EE Visualizing
- Summary
8. Code Coverage
- Code Coverage
- Coverage Navigator View
- Annotated Source View
- Annotated Source
- Method and Line Code Coverage Page
- Profile Set Dialog
- Code Coverage Profiling
- Collecting Data
- Coverage Statistics View
- Coverage Statistics
- Coverage Statistics View
- Coverage Details View
- Summary
9. Team Development
- Objectives
- Goals of Team Development
- Team Development Architecture
- Workspace
- Repository
- Synchronize Workspace with Repository
- Creating a Milestone
- Branching
- Version Control Systems
- Major Tasks for Setting up Team Environment in RAD
- Install CVS NT
- Add Repository Connection
- Add a Project to CVS
- Import Project from Shared Repository
- Plain Commit / Update
- Synchronize Workspace with Repository
- Synchronize Workspace with Repository – Commit/Update
- CVS Resource History
- Creating a Milestone
- Restoring a Milestone
- Creating a Branch
- Summary
Appendix A. Overview and Migration
- Objectives
- The WebSphere Family
- Eclipse Platform
- The WebSphere Studio Product Family
- Rational Web Developer
- Rational Application Developer
- Key Features in RAD v6.0
- WebSphere Studio Application Developer Integration Edition
- WebSphere Studio Enterprise Developer
- 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
- Templates and Code Completion
- 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 Method
- Migrating Workspace from WSAD v5.x
- Project Interchange Feature
- Migrating J2EE Applications
- J2EE Migration Wizard
- Summary
Appendix B. Overview of UML
- Topics
- What is UML?
- History of UML
- Building Blocks of UML
- Things in UML
- Examples of UML Things
- Relationships in UML
- Examples of UML Relationships
- Diagrams in UML
- Classifier in UML
- Examples of UML Classifiers
- Common Mechanisms in UML
- Common Mechanisms in UML cont
- Examples of UML Extensibility
- Class Diagrams
- Class Diagram
- Class Diagrams
- Sequence Diagrams
- State Diagrams
- Activity Diagrams
- Advantages of UML
- Summary
Minimum Hardware Requirements
- 2.5 Ghz Pentium 4
- 1 GB RAM minimum
- 6 GB
- Ethernet or Token Ring card
- CD-ROM drive
- Network connectivity to the internet
Minimum Software Requirements
- Microsoft Windows 2000 SP4
- Adobe Acrobat Reader 4.0 (or higher)
- Netscape 4.7 or Internet Explorer 5.0 (or higher)
- WinZip 8.0 (or higher)
- IBM DB2 V8.2 Personal Developer Edition
- Rational Application Developer v6 (RAD 6)
- RAD 6.0.0.1 Interim Fixpack