Fast Track to Jakarta Struts Training

We offer private customized training for groups of 3 or more attendees.

Course Description

Struts is an open source, Model-View-Controller (MVC) framework developed by The Apache Software Foundation as part of its Jakarta project. Struts is built on top of JSP, Servlets, and custom tag libraries. After reading the first J2EE Blueprints from Sun with their explanation of MVC and how to accomplish it with custom tags, Servlets, and JSP, one can clearly see that Struts is a manifestation of Sun's J2EE MVC vision. Struts addresses many major issues in using vanilla Servlets/JSP to build web systems. It solves the problem of controller complexity by removing the workflow logic from the Servlets, and directing workflow in an XML configuration file. Struts improves on the limited form support in JSP by adding numerous capabilities to form processing including easy validation, easy error display, and the refilling of form input on form retries from a users previous entries. It minimizes the complexity of JSP pages, by integrating with the JSTL tag library, and additionally supplying a very extensive and flexible set of custom tag libraries for many of the standard operations needed in JSP pages. This course will get you up to speed with Struts in a very short time. It includes all the important concepts, and hands on labs that will have you building working Struts applications in no time flat. In addition, this course covers how to extend the Struts framework to fit your unique needs
Course Length: 3 Days
Course Tuition: $1290 (US)


Basic knowledge of HTML and JavaScript and practical Java and Servlet/JSP programming experience.

Course Outline

Getting started with Struts  
Jakarta Struts Project
MVC and Struts
Review Servlets, JSP and Web Applications
Struts Architecture
Your first Struts Application
Configuring Struts applications
Defining views – the input JSP
Defining ActionForms (FormBeans)
Defining Actions
Mapping the Model to the View
Review of Custom Tags
Introduction to JSTL (JSP Standard Template Library)
Using the Struts HTML Tags, Struts Bean Tags and Struts Logic Tags
Pre-populating forms from FormBeans
Errors and Debugging Struts Applications
Error Handling
Action Error and ActionErrors
ActionForm validate() method
Error Management in Action.execute()
Error display in JSP pages:  <html:errors> tag
Writing all errors to JSP page
Writing selected errors to JSP page
Handling exceptions
Declarative Exception Handling
Logging – A critical tool
Overview of logging
Simple Servlet Logging
Jakarta Commons Logging
Using Commons Logging
Log Message Levels
Apache log4j
Overview, Loggers, Appenders, Layouts, Using log4j
Dynamic Forms and the Validator Framework
Dynamic Forms
Issues with Regular Forms
Overview of Dynamic Forms
Configuring Dynamic Forms - The DynaActionForm and Form Properties
Using the Dynamic Form in the Action
The Validator Framework - Overview
Validation Rules
Adding Errors to the Resource Bundle
Using Validators with Dynamic and Static Forms
Important Predefined Validators : Email, mask, range, length, date and credit card validation
Using the Mask Rule
Working with the Tiles Custom Library
Issues with Managing JSP Complexity
View Reuse
The Tiles Framework
Defining Layouts for View Reuse
Using tiles:get, tiles:put, tiles:getAsString and tiles:insert
Tiles Definitions
JSP Definitions – Uses, Shortcomings
Using Definitions
XML Definitions
The Tiles Plugin
Tiles Controllers
Additional Capabilities
Forward and Include Actions
Setup Actions
Managing Complexity
Multiple struts config files
Multiple resource bundles

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Java Programming Uses & Stats

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

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.  


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
Job Count
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.