LearningPatterns: Your Global Source for Java Training, Mentoring, and Consulting
Home | About LearningPatterns | Our Services | Contact Us | Printer Friendly Link

Courseware for License:

Practical Java™ Language Topics

Course ID: JPRACT

The Java platform has many powerful capabilities to help developers in the day to day tasks of creating good software systems. Some of this are built into the langauge, and some are separate tools that have become widely adopted because of their usefulness.

This one day course looks at the following three tools that can be of enoromous help to programmers that are writing Java systems:

These technologies are very powerful, yet it is easy to learn the basics in a very short time. This one day course provides those basics, and gives programmers the experience necessary to use these tools to be more productive and create better software systems.

All labs can be done with the Eclipse IDE or a simple editor, and the lab instructions include detailed directions on both environments.

Course Information

Duration: 1 day

Hands-on: 50% hands-on, 50% lecture

Supported Platforms:

Skills Gained:

Course Details:

ant: Basics

  • ant Overview
  • Installing and Running ant
  • Buildfiles, Projects, Targets and Tasks
  • Properties
  • Creating Build Files
  • Paths(e.g. CLASSPATH, PATH)
  • Resource Collections - FileSets, DirSets, Files, PatternSets
  • Other Resource Collections and Selectors
  • LABS: 
    • Running ant
    • Creating and Using Buildfiles
    • Using Basic ant Tasks
    • Working with Paths
    • Using Resource Collections

ant: Tasks

  • Overview of ant Tasks
  • The <javac> Task in Depth
  • The <java> Task in Depth
  • Creating Java Archives - <jar>, <war>, <ear>
  • File Related Tasks
  • Other Useful Tasks
  • LABS: 
    • Working with <javac> and <java>
    • Creating Archives
    • Working With File Tasks

ant: Modularity

  • Properties Files
  • The <ant> Task and SubProjects
  • The <import> Task For Importing Buildfiles
  • LABS: 
    • Working With Properties Files
    • Creating Modular Buildfiles

JUnit: Basics

  • JUnit Overview, Test Driven Development
  • Tests and Assertions
  • Running Tests
  • Working With Exceptions
  • LABS:
    • Writing Tests
    • Running Tests
    • Testing Exceptions

JUnit: Organizing Tests

  • Writing Fixtures - @Before, @After
  • Test Suites
  • Other Capabilities
  • The ant <junit> Task
  • LABS:
    • Using Fixtures
    • Using Suites

Logging: Basics

  • Logging Overview
  • log4j Overview
  • Loggers, Appenders, Layouts
  • Configuring log4j
  • Using log4j
  • LABS:
    • Setting Up log4j
    • Using Basic log4j Logging

Logging: More On log4j

  • Logger Heirarchy
  • Logging Levels
  • Working With Appenders
  • Using PatternLayout
  • LABS:
    • Working With Loggers
    • Working With Appenders
    • Using Layouts

Logging: Other Logging Frameworks

  • Java Logging
  • Apache Commons Logging
Home | About LearningPatterns | Our Services | Legal | Contact Us       Copyright © LearningPatterns, Inc. All rights reserved.