Experience of a structured 3GL, such as C or Pascal
Basic knowledge of the principles of object orientation
Description In this course, students learn the concepts and essential elements of the Java language. Participants build stand-alone applications, and acquire the foundation skills needed to attend more advanced courses in the curriculum. The development environment used for this course is Oracle JDeveloper (10.1.3.2.0).Learn To:Use JDeveloper to write, build, debug and deploy Java ApplicationsInteract with the Oracle Database from a Java ApplicationHow to write Java Applications
Objectifs
Build, generate, and test application components using Oracle JDeveloper 10g
Access database records from a Java application
Write stand-alone applications in the Java programming language
SOMMAIRE
Introducing the Java and Oracle Platforms
Identifying the key elements of the Java environment
The benefits of using Java
The Java SE Java Development Kit
Using Java with Oracle JDeveloper (10.1.3.2.0)
Defining Object Oriented Principles
Defining objects and understand how they are used
Defining classes and understand how they are used
Defining the O-O principles of Abstraction, Inheritance, Encapsulation, Aggregation, and Polymorphism
Introducing the course application class model
Basic Java Syntax and Coding Conventions
Introducing basic source and byte file structure
Describing the basic language syntax
Java file structure (package, import, class)
Defining Classes
Specifying Methods (entry method main)
Placing comments in Java code
Establishing Naming Conventions
Declaring variables
Exploring Primitive Data Types and Operators
Primitive data types
What are variables?
Declaring and initializing variables
What are literals?
What are operators?
Controlling Program Flow
Using Flow Control in Java
Decisions: if, switch, conditional operator
Repetition: while, do-while, for
The break statement
Building Java Applications Using Oracle JDeveloper (10.1.3.2.0)
Exploring the JDeveloper Environment
Creating applications
Specifying Project Properties
Examining the Directory structure
New Code Editor Features
Re-factoring
Using the Help System
Using the JDeveloper Debugger
Creating Classes and Objects
Using Java classes
Defining instance variables and instance methods
Creating objects using new and the default Constructor
Declaring Instance Variables
Calling instance methods
Applying Encapsulation in Java
What are Class Variables?
What are Class Methods?
Class Loading, Object Life Cycle, and Inner Classes
Method Overloading
The 'this' keyword
What are constructors?
Defining Inner and Anonymous Classes
The finalize method
Using Strings, String Buffer, Wrapper, and Text-Formatting Classes
The Java String class
String conversion and comparison
Overview of wrapper classes
Conversions to and from primitive types using wrapper classes
Formatting classes
About streams
Sets of I/O Classes
Reusing Code
Specifying Inheritance in Java
The super reference
Over-riding super class methods
Browsing super class references with Oracle JDeveloper (10.1.3.2.0)
Acme Video and Polymorphism
Limiting methods and classes with final
What are Java Beans?
Steps to build and use a Java Bean in JDeveloper
Using Arrays and Collections
What is an Array?
Multidimensional arrays
Using Vectors
Collections framework components
Using Integrators
Structuring code using Abstract Classes and Interface
Defining Abstract classes
Defining Abstract methods
Creating Interfaces
The Sortable Interface
Throwing and Catching Exceptions
How does Java handle exceptions?
Catching and handling exceptions
Ensuring code is executed using a finally block
Creating exceptions
Accessing the Database with JDBC
Connecting to a database with Java
What is JDBC?
Registering the Driver
Getting a database connection
Creating a Statement
Executing a SQL statement
The Prepared Statement object
Pooling connections
User Interface Design: Planning a Form Layout
Running Java UI Applications
Swing features
Planning the UI layout
Swing Containers
Using Frames or Dialogs
Adding Components with Oracle JDeveloper (10.1.3.2.0)
Adding User Interface Components and Event Handling
Swing Components
Swing Components in JDeveloper
Adding a component to a form
The Java Event model
Adding event handlers using Oracle JDeveloper
Model View Controller Principles using a List Component
Deploying Applications using Java Web Start
What is Java Web Start?
Deploying Applications with JDeveloper
Creating the Deployment Profile file
Making an executable .JAR file
Creating and deploying the archive file
Using JDeveloper to deploy an application to Java Web Start