INTRODUCTION TO JAVA USING WEBSPHERE STUDIO APPLICATION DEVELOPER

Document Sample
scope of work template
							INTRODUCTION TO JAVA USING WEBSPHERE STUDIO
        APPLICATION DEVELOPER V5.1.X
Course Duration: 5 Days

Course Overview: This course introduces the Java programming language and how to
develop Java applications using WSAD V5.1.x. Students learn the syntax of the Java
programming language, object-oriented programming using Java, exception handling,
file input/output (I/O), along with servlets and JavaServer Pages. During the course,
students will develop and test Java applications using WSAD V5.1.x.
Topics Covered:
· Java basics
· Basic introduction to WebSphere Studio Application Developer
· Branching and looping
· Objects
· Advanced class concepts
· Arrays
· Exceptions
· Stream I/O
· Basic introduction to servlets
· Using WSAD WebSphere Test Environment
· Basic introduction to JavaServer Pages
· Overview of Enterprise JavaBeans

This course is based on extensive practical exercises which take students through all
major aspects of the design and development of Java programs. Students will be
introduced to various wizards and tools available from WSAD.

LEARNING OBJECTIVES

·   After completing this course, the student should 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 your program to make them concise and clear
·   Do input/output using Java
·   Create servlets and JavaServer Pages
·   Use WSAD for Java application development

Who Should Attend: This course is intended for programmers who are interested in
adding Java to their skills.
Prerequisites: The students must be familiar with object-oriented principals and the
concept of object-oriented programming.

COURSE OUTLINE
Introduction                                    Branching and Looping
· History of Java                               · Condition
· Goals of Java                                 · The if Statement
· The JVM (Java Virtual Machine)                · The if … else Statement
· Garbage Collection                            · The switch Statement
· HelloWorld – An Example                       · The for loop Statement
Introduction to WebSphere Studio                · The while Statement
Application Developer                           · The do . . . while Loop Statement
· Introduction to WebSphere Studio              · The break and continue Statements
    Family                                      · The Labeled break
· WSAD Workspace, and Workbench                 · The Labeled continue
· Workspace Perspectives (Java,                 Objects
    J2EE, Web, Server, Help)                    · Object Oriented Programming
· Workbench Views (Navigator, Editor,           · Objects
    Task, Outline)                              · Classes
· Workbench Preference                          · Creating your own Data Type
· Create a Project                              · Class Members
· Create a Class                                · Creating Fields in WSAD
· Use WSAD Editor                               · Methods
Java Basics                                     · Writing a Method – An Example
· Comments                                      · Creating Methods in WSAD
· Semicolons and White Spaces                   · Pass-by-Value
· Blocks                                        · The this Keyword
· Identifiers                                   · Data Hiding
· Keywords                                      · Encapsulation
· Primitive Data Types                          · Overloading
· Understanding Objects                         · Constructing and Initializing Objects
· Creating a New Type                           · Constructors
· Declaring a Variable                          · Invoking an Overloaded Constructor
· Creating an Object                            · Default Constructor
· JVM Storage Areas                             · Creating Constructors
· Scope of a Variable                           · Inheritance
· Arithmetic Operators                          · Inheritance - An Example
· Assignment Operators                          · Inheritance in WSAD
· Logical Expressions                           · Constructors Are Not Inherited
· Short Circuit Logical Operators               · Polymorphism
· String Concatenation with +                   · Conditions for Polymorphism
· Bitwise Operators                             · The super Keyword
· Ternary Operators                             · The instanceOf Operator
· Casting                                       · Overriding
· Reading from a Keyboard                       · Invoking Parent Class Constructors
                                                Arrays
·   Arrays                          Stream I/O
·   Declaring Arrays                · File I/O
·   Creating Arrays                 · The File Class
·   Accessing Arrays                · File Example
·   Initializing Arrays             · Input Stream
·   Multidimensional Arrays         · Input Stream Methods
·   Copying Arrays                  · Output Stream
Advanced Class Concepts             · Output Stream Methods
· Static Class Variables            · DataInput Stream and DataOutput
· Class vs. Instance Variables         Stream
· Static Class Methods              · FileInput Stream and FileOutput
· Static Initializers                  Stream
· The final Keyword                 · Readers and Writers
· Abstract Classes                  · Reader Example
· Abstract Class – An Example       Servlets
· Interface                         · Java Servlets
· Interface – An Example            · Responsibilities of a Servlet
· Creating Interfacing              · The Servlet Life Cycle
· Implementing Interfaces           · First Servlet – HelloWorld
· Access Modifiers                  · Creating Servlets using WSAD
· Using == vs. equals()             · HelloWorld Servlet using WSAD
· The toString() Method             · Invoking HelloWorld Servlet
· Inner/Nested Classes.             · Retrieving Form Fields
· Kinds of Inner Classes            · Retrieving Form Fields – An
· Inner Classes – An Example           Example
· The Vector Class                  · Session Tracking in Servlets
· The Vector Class – An Example     · Session Tracking – An Example
Exceptions                          JavaServer Pages
· What is an Exception?             · What are JavaServer Pages?
· Benefits                          · JSP Benefits
· How to Work with Exceptions       · How JSP Works
· An Example                        · JSP Invocation
· The try-catch-finally Statement   · First JSP - hello.jsp
· Flow of Program Control           · Invoking hello.jsp
· Checked Exceptions                · Test and Debug a JSP in VSAD
· Unchecked Exceptions              · JSP Expressions
· Catching Multiple Exceptions      · JSP Scriptlets
· Rethrowing Exceptions
· Exception Thrown by a Method
· The Exception Class
· Creating Your Own Exception
· Exceptions in WSAD
Enterprise JavaBeans Programming -
Overview                                 Appendix C – AWT Components
· Needs for EJB                          · The Component Class
· What are EJBs?                         · Containers and Components
· Characteristics of EJBs                · Button
· The EJB Architecture                   · Label
· EJB Servers                            · Text Components
· EJB Containers                         · TextField
· EJB Classes and Interfaces             · TextArea
· Enterprise JavaBeans                   · Checkbox
· Session Beans                          · CheckboxGroup
· Entity Beans                           · Choice
JDK 1.4 Features                         · List
· XML parser                             · Canvas
· Logging API                            · Menu Components
· Security                               Appendix D – Java Foundation
· Preferences API                        Classes (JFC)
· Assertions                             · What is JFC?
· Hot code reloading by Java Profiling   · Swing
  and Debugging Architecture             · Swing Hierarchy
· Nested exception                       · Building GUI with Swing
  (getCause/initCause).                  · To Convert AWT to Swing
Appendix A – The AWT                     · JComponent
· Abstract Window Toolkit                · Limitations of Swing
· Foundations of AWT                     Appendix E – Applets
· Components                             · What is An Applet?
· Containers                             · Applets and Applications
· Creating an Empty Frame                · Applet Security
· Layout Manager                         · Writing an Applet
· Adding a Component                     · Life Cycle of an Applet
· Absolute Positioning                   · Our First Applet
· Common Layout Managers                 · Basic HTML for an Applet
· FlowLayout                             · Appletviewer
· BorderLayout                           · AWT Painting
· GridLayout                             · Basic Applet Tags
Appendix B – The AWT Event Model         · Applet and AWT
· Terminology
· Event Handling
· How to Implement
· Multiple Event Source
· Multiple Listeners
· Event Adapters
· Which to Use?
· How to Use?

						
Related docs