J-145 - Java Programming for the Enterprise (JPE)
Course
J-145
Price:
$2,475.00
Software Assurance Value:
Not Eligible
Duration:
5 Days
SQLSoft Course J-145 Java Programming for the Enterprise (JPE)
Table of Contents
Introduction
Audience
At Course Completion
Prerequisites
Certified Professional Exams
Student Materials
Course Outline
Introduction
This course teaches students how to write server-side Java code for the Java
2 Platform, Standard Edition (J2SE). Students will learn the Java language syntax
and object-oriented theory as it relates to Java. Students will create
Servlets and JavaBeans, interface with a database, use sockets for networking,
and invoke native and remote methods.
This course does not cover all the information needed for any certification
examination. Instead it is a fast-track approach to covering the server-side
(only) coding techniques found in the Java Programming and Advanced Java Programming
courses. For an overview of all of our Java training, visit the Java
Curriculum page. You will find descriptions of different skill levels and
Java platforms (J2SE, J2EE) you may encounter as a Java Developer.
Return to Top
Audience
Developers who need to create, enhance and maintain Java server-side code.
This course is an entry-point into the Java curriculum for experienced developers
who do not need Java Programmer or Java Developer certifications. This course
provides the basic techniques that are prerequisite to entering the J2EE curriculum.
Return to Top
At Course Completion
At the end of this course, the student will be able to:
- Describe the J2SE JDK/SDK architecture and its implementation.
- Create and use Java applications.
- Code the basic Java language syntax and structures.
- Describe the fundamental concepts of object-oriented programming.
- Code and use classes, attributes and methods.
- Code and use instance-level and class-level attributes and methods.
- Code and invoke Constructor methods.
- Use Java's primitive datatypes and wrapper classes.
- Find and read documentation for Java's classes.
- Generate documentation for coded classes.
- Understand the overloading and overriding of methods.
- Code and use abstract classes and interfaces.
- Create and use Packages.
- Create, use and try/catch Java Exceptions.
- Use Input and Output Streams for handling file I/O and network I/O.
- Use Java Regular Expressions.
- Create and use simple network servers and clients.
- Code and use Threads while understanding their issues.
- Code and use the Java Collections Framework, including Maps, Sets and Hashes.
- Use JDBC and SQL to access databases.
- Connect to remote databases.
- Use the Connection, Statement, and ResultSet objects.
- Use the PreparedStatement and ResultSetMetaData objects.
- Use RMI to marshal remote objects.
- Create and use Java Beans and simple Servlets.
- Describe the use of Java Native methods and JNI.
Return to Top
Prerequisites
Before attending this course, students must have:
- Experience with syntax fundamentals of one (or more) of the programming
languages: JavaScript, Perl, C, C++, C#, Visual Basic.
- Knowledge of Object-oriented concepts (recommended).
Return to Top
Certified Professional Exams
This course introduces some of the topics found in the following Certified
Professional exams:
- 310-035
Sun Certified Programmer for Java 2
- 310-027
Sun Certified Developer for Java 2 Platform (Step 2 of 2)
For more detailed information about curriculum paths and exams, see the Java
Training Roadmap and Certification Track and the Java
Certification pages.
Return to Top
Student Materials
The student kit includes a workbook, a CD-ROM with examples and exercise answers,
and other necessary materials for this class.
Return to Top
Course Outline
Getting Started
What is Java?
How to Get Java
A First Java Program
Compiling and Interpreting Applications
Applets
Compiling and Interpreting Applets
The JDK Directory Structure
Java 2 Language Fundamentals
A Java Program
Conditional Statements
Loop Statements
Syntax Details
Portable Datatypes
Expressions in Java
Strings
Arrays
Assertions
Objects and Classes
Defining a Class
Creating an Object
Instance Data and Class Data
Methods
Constructors
Visibility Modifiers
Methods and Messages
Parameter Passing
Comparing and Identifying Objects
Destroying Objects
Using the Primitive-Type Wrapper Classes
Documentation of Classes
Inheritance in Java
Inheritance
Casting
Method Overriding
super
Interfaces
Abstract Classes
The Object Class
Introspection
Packages
Packages
The import Statement
CLASSPATH and import
Defining Packages
Package Scope
Exception Handling
Exceptions Overview
Catching Exceptions
The finally Block
Exception Methods
Declaring Exceptions
Defining and Throwing Exceptions
Errors and RuntimeExceptions
Chained Exceptions
Input/Output Streams
Overview of Streams
Bytes vs. Characters
Converting Byte Streams to Character Streams Binary Input and Output
PrintWriter class
Reading and Writing Objects
Streams Streams Streams
Buffers, Channels and Charsets
File and FileChannel Objects
Regular Expressions
Pattern Matching and Regular Expressions
Regular Expressions in Java
Regular Expression Syntax
Special Characters
Quantifiers (*, +, ?, {})
Assertions (^, $, \b, \B)
The Pattern Class
The Matcher Class
Capturing Groups
Collections
Java Arrays
The Collections Framework
Set Implementation Classes
List Implementation Classes
Map Implementation Classes
Applying Algorithms
Implementation and Performance Strategies
Introduction to Threads
Non-Threaded Applications
Threaded Applications
Creating Threads
Thread States
Runnable Threads
Coordinating Threads
Runnable Interface
Threads in Applets
Interrupting Threads
ThreadGroups
Introduction to JDBC
The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up
JDBC SQL Programming
Error Checking and the SQLException Class
The SQLWarning Class
The Statement Interface
The ResultSet Class
Updatable Result Sets
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Transaction Management
JDBC SQL Escape Syntax
Advanced JDBC
Using a PreparedStatement
Parameterized Statements
Stored Procedures
ResultSets from Stored Procedures
The execute() Method
Batch Updates
RowSets
DatabaseMetaData
Large Objects
The DriverManager Class
Types of JDBC Driver
Networking with Sockets
Clients and Servers
Ports, Addresses and Protocols
The Socket Class
Communication Using I/O
Servers
The ServerSocket Class
Concurrent Servers
The URL Class
The URLConnection Class
Remote Method Invocation
Distributed Applications
Stubs
Steps to Create a Remote Object
An RMI Client
An RMI Server
RMI Classes and Interfaces
Parameter Passing and Serialization
Callbacks
RMI Utilities
RMI-IIOP
Server-Side Components
Component-Based Development
The Basic Bean
JavaBeans in J2EE
Bean Properties
Packaging Beans
Beans & JDBC
Servlets
Using Servlets
Dynamic HTML Semantics
GenericServlet API
HttpServlet API
HTML Servlet Choices
Client/Server Communication
Client Example
Server Example
Native Methods
Overview of Java Native Methods and JNI
How to Create and Use Native Methods
Native Method Declaration
Using javah
Creating the Implementation Code
Compilation
Distribution
Using the Native Methods
JNI
Passing Arguments
Calling Java Methods in Native Code
Embedding a VM in Native Code
Return to Top