Practical Java Programming Training in Peabody

Enroll in or hire us to teach our Practical Java Programming class in Peabody, Massachusetts by calling us @303.377.6176. Like all HSG classes, Practical Java Programming may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Practical Java Programming may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
This one day course looks at three tools that can be of enormous help to programmers that are writing Java systems: ant, a Java-based build tool that uses XML configuration files to control the build, JUnit, a testing framework that simplifies writing and maintaining test code, and logging with log4J, commons logging, or java logging, logging packages that make logging efficient and easy to use. 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.
Course Length: 1 Days
Course Tuition: $790 (US)

Prerequisites

Programmers interested in fine-tuning their Java skills, increasing their productivity, and creating better software systems.

Course Outline

 

Introduction to ant
What is ant?
A Simple Buildfile
Installing and Running ant
Acquiring ant
ant Installation
Running ant
Command Line Options
ant Basics
ant Buildfiles and Projects
ant Targets
A More Complicated Buildfile
ant Tasks
The Task
The and Tasks
A Complete Buildfile
Running our Buildfile
How is ant Useful?
Working with Properties
Built-In Properties

Working with Paths and Resource Collections
Paths
Path-Like Strutures
Specifying the Classpath
Nested Element
Resource Collections
Patterns
Nested and
Other Use of
Using

ant Tasks
and
- Specifying Source Files
- Compiler Options
- Passing Argument
- Forking and JVM Arguments
Other Tasks
Creating Archives with
Creating Web Archives with
Other Archive Tasks
File Related Tasks
Other Useful Tasks
Including New Tasks

ant Modularity
Properties Files
- Importing Another Buildfile
Buildfile Defining Common Targets
Buidlfile Importing Another
- Invoking Another Building
Using 
JUnit Overview
Testing Overview Unit Testing
Writing JUnit Tests
What is a Unit Test
The org.junit.assert Class
The Assert Class and Static Imports
Writing Tests
Testing for Exceptions
Running the Tests
The Result and Failure Classes
What to Test

Organizing Tests with JUnit
Fixtures and Suites
Test Fixtures
Test Suites
ant Task
Output
Setting Up ant for Using

Introduction to Logging & Log4J
Logging Overview
Apache Log4J Overview
Using Log4J
Configuring Log4J
Loggers, Levels, and Appenders
Log4J Loggers
Using Loggers
Log4J Appenders
Configuration File Details
Configuring Appenders and Loggers
Logger Hierarchy
Configuring Logger Levels
Level Inheritance
Log4J Appenders
Configuring Appenders
Appender Additivity
Layouts
PatternLayout
HTMLLayout
About Categories and Priorities
Other Details
Disabling Debugging and Performance
Java Logging
Apache Commons Logging 

Java Programming Uses & Stats

Java Programming is Used For:
Android & IOS Development Software Products Video Games Desktop GUI's
Difficulty
Popularity
Year Created
1995
Pros

Most Commonly Used: 
According to Oracle, three billion devices run on Java.  And, because of its real-world applications, it consistently ranks at the top of the TIOBE Programming Community Index. 

Great Career Choice: 
Some of the fastest-growing salaries in the U.S. in 2018 are for Java developers.  (Glassdoor)  

Android Apps Development:
Developers predominatly use their Java skills in building apps for Google's Android. The Android platform is the number one mobile paltform in the world

It Can Run On Any Platform:
Java can compile on Windows and run the same compiled file on Linux, Windows and Mac.

Great Supporting IDE's:
Over the years, coding in Java has become simpler with the introduction of open source development tools, i.e. Eclipse and NetBeans that use Java capabilities for debugging.  
 

Cons

Uses a Lot of Memory:
Performance can be significantly slower with Java and more memory-consuming than natively compiled languages such as C or C++.

Difficulty in Learning: 
Learning Java can be a bit challenging if you are a beginner.  However, once you get the hang of Object Oriented Programming and a decent grasp of the syntax, you will be well on your way.

Slow Start Up Times:
There is quite a bit of one-time initialization done by JDK classes before compiling as well as loading classes and verification (making sure code doesn't do evil things, all of which takes longer that some other languages such as C. 

Verbose and Complex Code:
Long, over-complicated sentences make code less readable and scannable. Compare to let's say Python, we can see how clear Python code appears: It doesn’t require semicolons; uses “and,” “or,” and “not” as operators instead of Java’s “&&,” “||,” and “!”; and generally has fewer bells and whistles such as parentheses or curly braces.

Commercial License Cost:
Companies have to prepare for the changes that Oracle will institute in 2019 . Today, the current version of Java is free and available for redistribution for general purpose computing. However, If you are a DEVELOPER, Oracle recommends you review the roadmap information for Java SE 8 and beyond and take appropriate action depending on the type of application you develop and your distribution mode.

Java Programming Job Market
Average Salary
$102,000
Job Count
26,856
Top Job Locations

New York City 
San Jose
Washington D.C, 

Complimentary Skills to have along with Java Programming

- If you are an experienced Java developer, learning a complimentary language to Java should come much more naturally.  As an example JetBrains recently created the Kotlin programming language which is officially supported by Google for mobile development.  Kotlin compiles to Java bytecode and runs on the JVM; it's purported to address many of Java's shortcomings...

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.