Java - J Developer: Prerequiests

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Java – J Developer 1

Prerequiests:
• Basic Knowledge of C or C++ or VB or any other Programming Languages required .
• Basic Knowledge of HTML
• Basic Knowledge of SQL required for back end
Training Schedule :
** Part Time : Theory and Particle class @ 4 Hrs Per day( Instructor led Training (Theory or On line Particles or
On
line Demo) ; 10 working days ; Total 40 Hrs
** Full Time : Theory and Particle class @ 8 Hrs Per day( Instructor led Training (Theory or On line Particles or
On
line Demo) ; 5 working days ; Total 40 Hrs
3 Basic Java Syntax and Coding Conventions
I Introduction Objectives
Objectives Examining Toolkit Components
Course Overview Exploring Packages in J2SE/J2EE
1 Introducing the Java and Oracle Platforms Documenting Using the J2SE
Objectives Contents of a Java Source
What Is Java? Establishing Naming Conventions
Key Benefits of Java More About Naming Conventions
An Object-Oriented Approach Defining a Class
Platform Independence Rental Class: Example
Using Java with Enterprise Internet Computing Creating Code Blocks
Using the Java Virtual Machine Defining Java Methods
How Does JVM Work? Examples of a Method
Benefits of Just-In-Time (JIT) Compilers Declaring Variables
Implementing Security in the Java Environment Examples of Variables in the Context of a Method
Deployment of Java Applications Rules for Creating Statements
Using Java with Oracle 10g What Are JavaBeans?
Java Software Development Kit Managing Bean Properties
Using the Appropriate Development Kit Exposing Properties and Methods
Integrated Development Environment JavaBean Standards at Design Time
Exploring the JDeveloper Environment Compiling and Running a Java Application
Oracle10g Products The CLASSPATH Variable
CLASSPATH: Example
2 Defining Object-Oriented Principles
Objectives 4 Exploring Primitive Data Types and Operators
What Is Modeling? Objectives
What Are Classes and Objects? Reserved Keywords / Variable Types / Primitive Data
An Object’s Attributes Maintain Its State Types
Objects Have Behavior What Are Variables? / Declaring Variables
Objects Are Modeled as Abstractions Local Variables / Defining Variable Names
Defining Object Composition What Are Numeric Literals? / What Are Nonnumeric
The Donut Diagram Literals?
Guided Practice: Spot the Operations & Attributes Guided Practice: Declaring Variables
Collaborating Objects What Are Operators? / Categorizing Operators
Objects Interact Through Messages Using the Assignment Operator
What Is a Class? Working with Arithmetic Operators
How Do You Identify a Class? More on Arithmetic Operators
Comparing Classes and Objects Examining Conversions and Casts
What Is Encapsulation? Incrementing and Decrementing Values
What Is Inheritance? Relational and Equality Operators
Using the “Is-a-Kind-of” Relationship Using the Conditional Operator (?:)
What Is Polymorphism? Using Logical Operators
Java – J Developer 2
Architecture Rules for Reuse Compound Assignment Operators
Engineering for a Black Box Environment Operator Precedence
Order Entry UML Diagram More on Operator Precedence
Order Entry System Partial UML Class Model Concatenating Strings

5 Controlling Program Flow 7 Creating Classes and Objects


Objectives Objectives
Categorizing Basic Flow Control Types Using Java Classes
Using Flow Control in Java Comparing Classes and Objects
Using the if Statement Creating Objects
Nesting if Statements Using the new Operator
Guided Practice: Spot the Mistakes Comparing Primitives and Objects
Defining the switch Statement Using the null Reference
More About the switch Statement Assigning References
Looping in Java Declaring Instance Variables
Using the while Loop Accessing public Instance Variables
Using the do…while Loop Defining Methods
Using the for Loop Calling a Method
More About the for Loop Specifying Method Arguments: Examples
Guided Practice: Spot the Mistakes Returning a Value from a Method
The break Statement Calling Instance Methods
Applying Encapsulation in Java
6 Building Applications with Oracle JDeveloper Passing Primitives into Methods
10g Passing Object References into Methods
Objectives What Are Class Variables?
What Is Oracle JDeveloper 10g? Initializing Class Variables
Exploring the JDeveloper Environment What Are Class Methods?
Examining Workspaces Guided Practice: Class Methods or Instance Methods
What Are Projects? Examples in Java
Creating JDeveloper Items Creating Classes Using the Class Editor
Creating an Application Workspace What Are Java Packages?
Specifying Project Details Grouping Classes in a Package
Selecting Additional Libraries Setting the CLASSPATH with Packages
Adding a New J2SE Access Modifiers
Looking at the Directory Structure Full Notes page
Exploring the Skeleton Java Application
Finding Methods and Fields
Supporting Code Development with Profiler and
Code Coach
Customizing JDeveloper
Using the Help System
Obtaining Help on a Topic
Oracle JDeveloper 10g Debugger
Setting Breakpoints
Using the Debugger Windows
Stepping Through a Program
Watching Data and Variables
Java – J Developer 3

8 Object Life Cycle and Inner Classes 10 Reusing Code with Inheritance and Polymorphism
Objectives Objectives
Overloading Methods Key Object-Oriented Components
Using the this Reference Example of Inheritance
Initializing Instance Variables Specifying Inheritance in Java
What Are Constructors? Defining Inheritance by Using Oracle JDeveloper 10g
Defining and Overloading Constructors What Does a Subclass Object Look Like?
Sharing Code Between Constructors Default Initialization
final Variables, Methods, and Classes The super Reference
Reclaiming Memory The super Reference Example
Using the finalize() Method Using Superclass Constructors
What Are Inner Classes? Specifying Additional Methods
Using Member Inner Class Overriding Superclass Methods
Using Local Inner Class Invoking Superclass Methods
Defining Anonymous Inner Classes Example of Polymorphism in Java
Using the Calendar Class Treating a Subclass as Its Superclass
9 Using Strings, String Buffer, Wrapper, & Browsing Superclass References by Using Oracle
Text-Formatting Classes JDeveloper 10g
Objectives Acme Video and Polymorphism
What Is a String? Using Polymorphism for Acme Video
Creating a String Using the instanceof Operator
Concatenating Strings Limiting Methods and Classes with final
Performing Operations on Strings Ensuring Genuine Inheritance
Performing More Operations on Strings
Comparing String Objects 11 Using Arrays and Collections
Producing Strings from Other Objects Objectives
Producing Strings from Primitives What Is an Array?
Producing Primitives from Strings Creating an Array of Primitives
Wrapper Class Conversion Methods Declaring an Array of Primitives
Changing the Contents of a String Creating an Array Object for an Array of Primitives
Formatting Classes Initializing Array Elements
Using the SimpleDateFormat Class Creating an Array of Object References
Using the MessageFormat Class Initializing the Objects in the Array
Using DecimalFormat Using an Array of Object References
Guided Practice Arrays and Exceptions
Using Regular Expressions Multidimensional Arrays
About System.out.println main() Revisited
About OutputStream and PrintStream Working with Variable-Length Structures
What Is Object Serialization? Modifying a Vector
Serialization Streams, Interfaces, and Modifiers Accessing a Vector
Java Collections Framework
Collections Framework Components
Using ArrayList and Hashtable
Using Iterators
Java – J Developer 4

12 Structuring Code by Using Abstract Classes and 14 User Interface Design: Swing Basics Planning the
Interfaces Application Layout
Objectives 12-2 Objectives
Defining Abstract Classes Running Java UI Applications
Creating Abstract Classes AWT, Swing, and JFC
What Are Abstract Methods? Swing Features
Defining Abstract Methods Lightweight or Heavyweight Components?
Defining and Using Interfaces Planning the UI Layout
Examples of Interfaces The Containment Hierarchy
Creating Interfaces Top-Level Containers
Implementing Interfaces Intermediate Containers
Sort: A Real-World Example Atomic Components
Overview of the Classes Layout Management Overview
How the Sort Works Border Layout
The Sortable Interface GridBag Layout
The Sort Class GridBag Constraints
The Movie Class Using Layout Managers
Using the Sort Combining Layout Managers
Using instanceof with Interfaces Using Frames or Dialogs
Using JPanel Containers
13 Throwing and Catching Exceptions Adding Borders to Components
Objectives Using Internal Frames
What Is an Exception? Swing Text Controls
How Does Java Handle Exceptions? Adding Components with Oracle JDeveloper 10g
Advantages of Java Exceptions: Separating Error Creating a Frame
Handling Code Adding Components
Advantages of Java Exceptions: Passing Errors Up Setting Pluggable Look and Feel
the Call Stack
Advantages of Java Exceptions: Exceptions Cannot 15 Adding User Interface Components and Event
Be Ignored Handling
Checked Exceptions, Unchecked Exceptions, and Objectives 15-2
Errors Swing Components
What to Do with an Exception Swing Components in JDeveloper
Catching and Handling Exceptions Invoking the UI Editor
Catching a Single Exception How to Add a Component to a Form
Catching Multiple Exceptions Edit the Properties of a Component
Cleaning Up with a finally Block Code Generated by JDeveloper
Catching and Handling Exceptions: Guided Creating a Menu
Practice Using JDeveloper Menu Editor
Allowing an Exception to Pass to the Calling Practice 15-1: Overview
Method UI for Java Application
Throwing Exceptions Java Event Handling Model
Creating Exceptions Event Handling Code Basics
Catching an Exception and Throwing a Different Event Handling Process: Registration
Exception Event Handling Process: The Event Occurs
Event Handling Process: Running the Event Handler
Using Adapter Classes for Listeners
Swing Model View Controller Architecture
Basic Text Component Methods
Basic JList Component Methods
What Events Can a Component Generate?
How to Define an Event Handler in JDeveloper
Default Event Handling Code Style Generated by
Java – J Developer 5
JDeveloper
Completing the Event Handler Method

Deploying Applications by Using Java Web Start


16 Using JDBC to Access the Database Objectives
Objectives What Is Java Web Start?
Java, J2EE, and Oracle 10g Running a Web Start Application
Connecting to a Database with Java Advantages of Web Start
What Is JDBC? Examining the JNLP File
Preparing the Environment Deploying Applications with JDeveloper
Steps for Using JDBC to Execute SQL Statements Creating the Deployment Profile File
Step 1: Registering the Driver Saving the Deployment Profile
Connecting to the Database Selecting Files to Deploy
Oracle JDBC Drivers: Thin Client Driver Making an Executable .jar File
Oracle JDBC Drivers: OCI Client Drivers Creating and Deploying the Archive File
Choosing the Right Driver Using JDeveloper to Deploy an Application to Java Web
Step 2: Getting a Database Connection Start
About JDBC URLs Step 1: Generate Deployment Profiles and Archive
JDBC URLs with Oracle Drivers Application
Step 3: Creating a Statement Step 2a: Start OC4J
Using the Statement Interface Step 2b: Creating a Connection
Step 4a: Executing a Query Step 3: Use Web Start Wizard to Create a JNLP File
The ResultSet Object Step 4: Archive and Deploy the Application to the OC4J
Step 4b: Submitting DML Statements Server
Step 5: Processing the Query Results
Step 6: Closing Connections
A Basic Query Example
Mapping Database Types to Java Types
Handling an Unknown SQL Statement
Handling Exceptions
Managing Transactions
The PreparedStatement Object
How to Create a PreparedStatement
How to Execute a PreparedStatement
Maximize Database Access
Connection Pooling

You might also like