Skip Navigation Links

Course Length:
5 Days
Course Description:
Students learn Java programming and how to develop Java applications using RAD V7. They learn the Java programming syntax, OO programming using Java, exception handling, file input/output, and servlets and JSPs. Students will develop and test Java applications using RAD V7.
Who Should Attend:
This course is intended for programmers who are interested in adding Java to their skills.
Benefits of Attendance:
Upon completion of this course, students will be able to:
  • Apply OOP principles.
  • Design OO applications using abstraction, encapsulation, modularity and hierarchy.
  • Use Java exceptions to guarantee graceful error recovery for your application.
  • Create and use inner classes in programs.
  • Perform input/output using Java.
  • Create servlets and JavaServer Pages.
  • Use RAD for Java application development.
Prerequisites:
Students must be familiar with object-oriented principals and the concept of object-oriented programming.
Course Outline:
  • The Agenda
    1. Using RAD
    2. Java Basics
    3. Branching and Looping
    4. Arrays and Objects
    5. Advanced Class Concepts
    6. Exceptions
    7. Stream I/O
    8. Servlets
    9. Java Server Pages
    10. EJB Programming Overview
    11. JDK 1.4 Features
  • Introduction
    1. History and Goals of Java
    2. Java Virtual Machine
    3. Garbage Collection
  • Overview and Migration
    1. The WebSphere Family
    2. Eclipse Platform
    3. The WebSphere Studio Product Family
    4. Rational Web Developer
    5. Rational Application Developer
    6. Key Features in RAD v7
    7. WebSphere Studio Application Developer Integration Edition
    8. WebSphere Studio Enterprise Developer
    9. Views, Perspective and Editor Areas
    10. Basic Operations with RAD Views and Perspectives
    11. The Java Perspective
    12. The Debug Perspective
    13. Navigator View
    14. Package Explorer
    15. Outline View
    16. Task and Problems View
    17. Build and Validation
    18. Import and Export Project
    19. Templates and Code Completion
    20. Searching
    21. Setup Compiler Class Path
    22. JRE Switching
    23. Refactoring
    24. Changing Class, Method, and Variable Name
    25. Moving a Class to a Different Package
    26. Extracting Code to a Method
    27. Pull-up Method
    28. Migrating Workspace from WSAD v5.x
    29. Project Interchange Feature
    30. Migrating J2EE Applications
    31. J2EE Migration Wizard
  • Java Basics
    1. Comments and Blocks
    2. Semicolons and White Spaces
    3. Identifiers and Keywords
    4. Primitive Data Types
    5. Logical - boolean
    6. Textual – char and String
    7. Integral – byte, short, int, long
    8. Floating Point - float and double
    9. Understanding Objects
    10. Creating a New Type
    11. Declaring a Variable
    12. Creating an Object
    13. JVM Storage Areas
    14. Scope of a Variable
    15. Arithmetic Operators
    16. Using Arithmetic Operators
    17. Assignment Operators
    18. Logical Expressions
    19. Short-Circuit Logical Operators
    20. String Concatenation with +
    21. Bitwise Operators
    22. Ternary Operator
    23. Casting
  • Branching and Looping
    1. Conditions
    2. The if Statement
    3. The if .. else Statement
    4. Logical Operators and the if..else Statement
    5. The switch and while Statements
    6. The do…while Statement
    7. The for loop
    8. Break and Continue
  • Objects
    1. OO Programming
    2. Creating a Data Type
    3. Class Members
    4. Methods
    5. Pass-by-Value
    6. The this keyword
    7. Data Hiding
    8. Encapsulation
    9. Overloading
    10. Constructing and Initializing Objects
    11. Constructors
    12. Invoking an Overloaded Constructor
    13. Default Constructor
    14. Inheritance
    15. Constructors Are Not Inherited
    16. Polymorphism
    17. Conditions for Polymorphism
    18. The super Keyword
    19. The instanceof Operator
    20. Casting Objects
    21. Overriding
    22. Invoking Parent Class Constructors
  • Arrays
    1. Arrays
    2. Declaring, Creating, and Accessing Arrays
    3. Initializing Array
    4. Multidimensional Arrays
    5. Copying Arrays
  • Advanced Class Concepts
    1. Static Class Variables
    2. Class vs. Instance Variables
    3. Static Class Methods
    4. Static Initializers
    5. The final Keyword
    6. Abstract Classes
    7. Interface
    8. Access Modifiers
    9. Using == vs. equals()
    10. The toString() method
    11. Inner/Nested Classes
    12. Kinds of Inner Classes
    13. The Vector Class
  • Exceptions
    1. What is an Exception?
    2. Benefits
    3. How to Work With Exception
    4. The try-catch-finally Statement
    5. Flow of Program Control
    6. Checked Exceptions
    7. Unchecked Exceptions
    8. Catching Multiple Exceptions
    9. Rethrowing Exceptions
    10. Exception Thrown by a Method
    11. The Exception Class
    12. Creating Exceptions
  • Stream I/O
    1. File I/O
    2. The File Class
    3. Input Stream and Methods
    4. Output Stream and Methods
    5. DataInputStream & DataOutputStream
    6. FileInputStream & FileOutputStream
    7. FileInputStream Methods
    8. FileOutputStream
    9. FileOutputStream/DataOutputStream
    10. FileInputStream/DataInputStream
    11. Reader and Writer
    12. Why use Reader and Writer ?
  • Servlet Basics
    1. History – CGI
    2. Server Extension APIs
    3. Java Servlet
    4. Servlet Container
    5. Servlet Responsibilities
    6. J2EE and Servlet
    7. The Servlet Class
    8. The Servlet Container
    9. The Servlet API
    10. Life Cycle – Initialization, Processing and Destroy
    11. User Input
    12. Output to Client
    13. Servlet Error Handling
    14. Threading Issues
    15. Create a Servlet
    16. Code Servlet Methods
    17. The Web Deployment Descriptor
    18. Test the Servlet
    19. Debug Servlets in the RAD’s WebSphere Test Environment
  • JSP Basics
    1. JavaServer Pages
    2. JSP Benefits
    3. Evolution of Dynamic Content Technologies
    4. How JSP Works
    5. JSP Invocation
    6. Create, Edit, and Test a JSP with RAD
    7. Debugging a JSP with RAD
    8. JSP Scripting Elements
    9. Directives
    10. XML Vs. Non-XML Syntax
    11. Creating a JSP in RAD(XML Syntax)
    12. Creating a JSP in RAD
    13. Adding code to JSP
    14. Viewing the output
    15. page Directive Attributes
    16. page Attribute – errorPage
    17. page Attribute – isErrorPage
    18. Directives – include
    19. Include at compile time vs. at request time
    20. Request time inclusion
    21. Forwarding Requests
    22. JSP Declarations, Expressions, and Scriptlets
    23. JSP Comments
    24. JSP Implicit Objects
    25. The request, response, and out Objects
  • EJB Overview
    1. Needs for EJB
    2. Distributed Computing, Transaction, and Security
    3. Main Characteristics of EJBs
    4. EJB Remote Method Call
    5. EJB Architecture Components
    6. EJB Client, JAR File, and Server
    7. EJB Container - Persistence and Transaction
    8. Enterprise Java Beans
    9. Session and Entity Beans
    10. Message-Driven Beans
    11. EJB Classes and Interfaces
    12. Basic Components of Entity and Session Beans
    13. EJB Home Interface
    14. EJBHome Object
    15. EJB Remote Interface
    16. EJB Local Home Interface
    17. EJB Local Interface
    18. Remote EJB Objects
    19. Local EJB Objects
    20. EJB Implementation Class
    21. EJB Container - Relationships
    22. Remote v. Local EJBs
    23. EJB Application Development
    24. Deploying Enterprise Beans
    25. Major Components of Deployed EJBs
  • JDK 1.4 Features
    1. JDK 1.4 and WebSphere v5.1.x
    2. Migrating Specific Projects to Use JDK 1.4
    3. Globally Migrating to JDK 1.4
    4. JDK 1.4 – New Features
    5. Control Flow of Logging
    6. Loggers
    7. Logging API - Handlers
    8. Logging API – Formatters & Log Manager
    9. JDK 1.4 - JAXP
    10. JDK 1.4 - Assertions
    11. When to use Assertions
    12. Enabling Assertions