Fast Track to Spring Framework 3 .x, Spring Framework MVC and Spring Framework Web Flow Training in Westland

Enroll in or hire us to teach our Fast Track to Spring Framework 3 .x, Spring Framework MVC and Spring Framework Web Flow class in Westland, Michigan by calling us @303.377.6176. Like all HSG classes, Fast Track to Spring Framework 3 .x, Spring Framework MVC and Spring Framework Web Flow 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, Fast Track to Spring Framework 3 .x, Spring Framework MVC and Spring Framework Web Flow may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
Fast Track to Spring 3 .x, Spring MVC and Spring Web Flow Spring is a lightweight Java framework for building enterprise applications. Its Core module allows you to manage the lifecycle of your objects and the dependencies between them via configuration metadata (either XML or annotations) and Dependency Injecti on / Inversion of Control. Its advanced capabilities provide support for JDBC and persistence frameworks like Hibernate (DAO and ORM modules), Aspect - Oriented Programming (AOP module), integration with Java Web technologies (MVC and Web Flow), security, t ransactions, and more. This course is a new course based on the Spring 3 release. It includes complete coverage of the annotation based approach to configuration and the use of Java - 5 capabilities that was first introduced in Spring 2.x, and which has been greatly enhanced in S pring 3. It also provides coverage of the traditional XML - based configuration that can still play an important role in existing and new projects. The course starts with the basics of Spring and in - depth coverage on using the powerful capabilities of the C ore module to reduce coupling, and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover all the important capabilities of Spring 3, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate and JPA. It includes coverage of advanced capabilities such as using Spring's Aspect Oriented Programming (AOP) to program cross - cutting concerns such as transactions and security. This includes an introduc tion to Spring Security v3, its architecture, and how to use it to secure both Web application requests and bean invocations The course includes integration of Spring with Java EE Web applications, an introduction to Spring's Web MVC, and thorough coverag e of Spring Web Flow 2 (which is still the latest version available). Spring MVC is a Web framework based on the powerful Model - View - Controller pattern, and the int r oduction covers the basics of Spring MVC, and how it supports organizing your Web applicatio ns in a highly structured, loosely coupled manner. Spring Web Flow 2 is a Spring framework for defining user interface flow in a Web applic a t i on. The course includes thorough coverage of Web Flow, including an overview of its capabilities and architecture, def i ning flows, flow variables and actions, the Unified EL, and flow programming.
Course Length: 5 Days
Course Tuition: $2090 (US)

Prerequisites

A good working knowledge of basic Java, JDBC, and Servlets/JSP.

Course Outline

 

1. Introduction to Spring
The Challenge of Enterprise
Applications
Shortcomings of Java/Java EE
What is Spring?
The Spring Modules
The Spring Distribution
Spring Introduction
Managing Beans
A Basic Spring Application
Some Bean Classes
Configuration Metadata
Declaring Beans
The Spring Container
Working with Spring
Why Bother?
Dependencies and Dependency Injection
Dependencies Between Objects
Dependency Inversion Principal
Dependency Injection(DI) in Spring
Dependency Injection Configuration
Advantages of Dependency Injection
Dependency Injection Reduces Coupling

2. More about BeanProperties
Working with Properties
Configuring Value Based Properties
Using Value Based Properties
Property Conversions
Constructor Injections
Constructor Argument Resolution
Setter Injection vs. Constructor Injection
Collection Valued Properties
Working with Collections
Configuring and Properties
Configuring Collections of Bean
References
Map Valued Properties
java.util.Properties Valued Properties
Additional Capabilities
Factory Methods
Instance Factory Methods
Bean Aliases
Bean Definition Inheritance
Autowiring
Autowiring byType
Pros and Cons of Autowiring
To Autowire or Not to Autowire

3. The Spring Container and API
ApplicationContext
ApplicationContext Interface
ApplicationContext Implementations
Constructors
Using an ApplicationContext
Spring Resource Access
Built-in Resource Implementations
Bean Scope and Lifecycle
Bean Scope
Specifying Bean Scope
Inner Beans
Compound Names
Depends On
Bean Creation Lifecycle
Bean Creation Lifecycle Details
Using the Lifecycle Interfaces for Beans
Bean Destruction Lifecycle
BeanPostProcessor
@PostConstruct and @PreDestroy
Event Handling
Annotation Driven Configuration
Annotations in Spring
Enabling Spring Annotations
@Component and Auto-Detecting Beans
Complete Declarations Using
Annotations
Qualifiers
Lifecycle Annotations
Annotation Configuration-Pro/Con
Java-Based Configuration
How it Works
Classpath Scanning
Other @Bean Capabilities
Java-Based Configuration- Pro / Con
Maven and Spring
About Maven
How We Work with Maven
The POM (Project Object Model)
Repositories
Maven Project Structure
Eclipse/Maven Integtration

4. Database Access with Spring
DAO Support
Datasources
Looking up a DataSource in JNDI
Using Spring with Hibernate
Typical Hibernate Configuration File
Spring Support for Hibernate
LocalSessionFactoryBean
Configuring a Hibernate Session Factory
Contextual Sessions
Spring Free DAO
What Approach to Use
Using Spring with JPA
Template Support for JPA
Managing EntityManager
Container-Managed EntityManager
JEE:Obtaining an EntityManager from JNDI
Additional Spring Configuration
JPA Data Access Object
Extended Persistence Context

5. Transactions
Spring
Transaction Management
Configuring Transaction Managers
JTA Transaction Manager
Spring Declarative Transaction Management
Spring Transactional Scope
Transaction Attributes for Propagation
MANDATORY
NESTED
NEVER
NOT_SUPPORTED
REQUIRED
REQUIRES_NEW
SUPPORTS
Transaction Attributes-Some Choices
Specifying Transaction Attributes
Additional Transactional Attributes
Rolling Back and Exceptions
XML Configuration
Specifying Transaction Using XML
Spring Transactions and AOP
Defining a Pointcut
Linking Advice with Pointcuts
Why Use XML Configuration

6. Web Applications with Spring MVC
Integration with Java EE
Spring and Java EE
Java EE Web Applications
Web Application Structure
Web Application Components
ApplicationContext and Web Apps
Configuring ContextLoaderListener
Using the Application Context
Spring MVC Basics
What is Spring MVC?
MVC Architecture
MVC Pattern Flow
Spring MVC Architecture
Simple Search App Model-Servlets/JSP/MVC
DispatcherServlet
DispatcherServlet Initialization
Controllers
Very Simple Controller
Control Flow
@RequestParam-Parameter Binding
The JSP Pages
Other Handler Method Capabilities
Parameters and Models
View Resolvers
Controller with Logical Names
Other View Resolvers
Forms and Command Objects
Spring MVC Form Tags
A JavaBean Command Class
Working with Model Classes
Request Handling Flow
Exposing Reference Data in the Model

7. Spring Security Overview
Spring Security
Spring Web Security-web.xml
Spring Web Security-Spring
Configuration
More Capabilities
Other User Details Services
Method Security
Method Security-Annotations
Method Security-Pointcut Expressions
Method Security-XML Configuration

8. Introducing Spring Web Flow
Spring Web Flow Overview
The Need for Spring Web Flow
What is Spring Web Flow?
Benefits of Spring Web Flow
Overview of Flow in SWF
Elements of a Flow
Defining a Flow
Defining Flows
Elements of a Flow Definition
How a Flow Works-Start State
How a Flow Works-Transition
How a Flow Works-End State
How a Flow Works-Web Pages
Leaving a Flow
Basic System Configuration
Configuring Spring Web Flow
Configuring a Flow Registry
Integrating with Spring MVC
Customizing the Flow Registry
Complete Context Configuration
Working with Data and Actions
Data Available to a Flow
Flow Instance Variables
Binding Model Objects to Views
View Pages and Model Binding
Flow Inputs in Flow Definitions
Actions and Programming in Flow
Definitions
Examining an Action:

9. More on Spring Web Flow
The Spring Expression Language
EL Syntax
More of SpEL Expressions
EL Literals and Implicit Objects
EL Implicit Objects
Flow Control Using EL Expressions
Data Scopes
Variable Scopes
POST-REDIRECT-GET Idiom
Request vs. Flash Scope
Flow Scope
Conversation Scope, and Subflows
Session Scope
Accessing the Scopes within a Flow
Flow Language Elements
Overview of Language Elements
Overview of Action Related Elements
Overview of Other Elements
Routing
decision-state
on-* Actions
Configuring Security

10. Programming with Spring Web Flow
Creating Custom Actions
Programming Your Own Actions
The RequestContext
The ExternalContext
Using a Custom Action
Validation and Error Reporting
Validating a Model
Defining a Validator Method in the Model
Validation and ValidationContext
The MessageContext
Using Validation
Validation at Work
Defining a Validator Class
Resource Bundles
Parameterizing Error Messages
Using Subflows
Branching on Subflow End-State
Using Input/Output Variables
Using Conversation Scope
When to Use Subflows

11. Aspect Oriented Programming
Overview
The Issue with Crosscutting Concerns
Aspect Oriented Programming (AOP)
Spring AOP Introduction
Spring AOP with AspectJ Annotations
Defining an Aspect
Defining a Pointcut and Advice
Configuring Spring
Triggering Advice
Pointcut Expressions and Advice
Pointcut Expressions
Designator Patterns
Combining Pointcut Expressions
Kinds of Advice
XML Based AOP Support
Defining Aspects using XML
Specifying Advice with XML
Other Considerations
Spring Proxies and Direct Invocation
More on Spring Proxies
Issues with AOP
Is AOP Worth It?
Other AOP Capabilities and Functionality
Review and Recap

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