Fast Track to Spring 2.x and Spring Web Flow 2 Training in Albany

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

Course Description

 
The course goes on to cover all the important capabilities of Spring 2.0/2.5, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate, and using Spring's Aspect Oriented Programming (AOP) to program cross-cutting concerns such as transactions and security. Understand the core principles of Spring, and of Dependency Injection (DI)/Inversion of Control. Use the Spring Core module and DI to configure and wire application objects (beans) together Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API. Work with the DAO and/or ORM modules to create a well structured persistence layer with JDBC or Hibernate. Understand and use Spring 2.x's powerful new AOP capabilities for programming cross-cutting concerns across multiple points in an application. Understand and use Spring's transaction support, including Spring 2.x's easy to use tx/aop XML configuration elements, and Java 5 annotations. Understand how Spring MVC works, and how to build well-structured Web applications with it Understand and use Spring Web Flow 2 to define user interface flow in Web applications. Understand the basics of Spring Security, and how to secure Web apps and Spring managed beans with it.
Course Length: 5 Days
Course Tuition: $2090 (US)

Prerequisites

A good working knowledge of basic Java.

Course Outline

 
 
Session 1:  
Introduction
Overview of Spring Technology
Shortcomings of Java EE, Spring Architecture
Spring Introduction
Managing Beans, Configuration Metadata, The Spring Container, IoC, DI
Dependencies and Dependency Injection (DI)
Dependency Inversion, Dependency Injection (DI) in Spring, DI Configuration, Advantages
 
Session 2:  
More about Bean Properties
Working with Properties
Configuring Value Properties, Property Conversions, Setter / Constructor Injection
Collection Valued Properties
Configuring  and Using <list>, <set>, <map>, <props>
Additional Capabilities
Factory Methods, Bean Aliases, Definition Inheritance (Parent Beans), Autowiring
 
Session 3:  
The Spring Container and API
ApplicationContext
ClassPathXmlApplicationContext, FileSystemXmlApplicationContext, Constructors, Usage
Resource Access
Overview, Resource Implementations
Bean Scope and Lifecycle
Bean Scope Defined, Configuring, Inner Beans, Bean Creation Lifecycle, Using the Lifecycle Interfaces (e.g. BeanFactoryAware), BeanPostProcessor, Even Handling
MessageSources
Defining and Using Resource Bundles, Localization/I18N
Annotation Driven Configuration
@Required, RequiredAnnotationBeanPostProcessor
Dependency Injection with @Resource
@Component, Auto-Detecting Beans, Other Stereotypes
 
Session 4:  
Database Access with Spring
Issues with JDBC
Examination of Typical JDBC Flow
Introduction to Spring DAO Support
Spring Database API, (Simple)JdbcTemplate,  (Simple)JdbcDaoSupport, DataSources,
Working With and Configuring, <list>, <set>, With Bean Refs, <map>, <props>
Queries and Inserts
RowMapper, ParameterizedRowMapper, Passing Arguments, queryForObject, query, update
Additional API Capabilities
Additional query methods, Passing Type Arguments, queryForList, FetchSize, MaxRows
Using Spring with Hibernate
HibernateTemplate, LocalSessionFactoryBean, Hibernate Configuration, HibernateDaoSupport,
Configuring a Hibernate DAO
HibenateTemplate Query Methods, Using HibernateCallback, Using Contextual Sessions
 
Session 5:  
Aspect Oriented Programming (AOP)
Overview of AOP
AOP Basics, Aspect, Joinpoint, Advice, Pointcut
Introduction to Spring AOP
Capabilities, New 2.x Configuration (XML and @AspectJ), Weaving, Joinpoints
Using Aspects
XML Configuration with <aop:>
Defining Advice, Configuring Pointcuts, Targets and Proxies
AspectJ Pointcuts, Autoproxies
Using @AspectJ Annotations
@AspectJ Annotations, Declaring Advice
 
Session 6:  
Spring Transaction (TX) Management
Intro to Spring Transaction Management
Overview, Component TX Model, TX Propagation, Declarative Transactions, TransactionManagers
Using Spring Transactions
Annotation Configured Transactions
@Transactional and its settings
XML Configured Transactions
new <tx:*> elements, Configuring tx:advice, and tx:attributes
Defining the TX advisor
 
Session 7:  
Overview of Spring Web MVC
Overview - Capabilities, Architecture
Introduction to Spring MVC
DispatcherServlet, Handlers, HandlerMappings
Command Controllers, Commands, View Resolvers
Forms
Spring Form Tags, Writing/Processing Forms
 
Session 8:  
Overview of Spring Security
Overview - Capabilities, Architecture
Introduction to Spring Security
HTTP Security
Method Security
Authentication Providers
 
Session 9:  
Introduction to Spring Web Flow 2
Overview - Need for Flow, Capabilities, Architecture
Defining Flows
XML Flow Definition Language
Flows, States, and Transitions
Accesing Flows in Web Pages
Exiting Flows - flowRedirect and externalRedirect
Configuring Web Flow - Flow Executor, Flow Registry, Integration with Spring MVC
Working with Data - Flow Instance Variables, Flow Inputs
View Pages and Model Binding
Flow Actions - evaluate, set, and render
 
Session 10:  
More on Spring Web Flow 2
Using the Unified Expression Language (EL) with Web Flow
Syntax and Expressions
Implicit Objects
Flow Control
Using Data Scopes - Request, Flash, View, Flow, Conversation, and Session Scope
POST-REDIRECT-GET Idiom
Flow Language Elements
More on States, Actions, and Other Elements
Routing with action-state and decision-state
 
Session 11:  
Programming with Spring Web Flow 2
Creating Custom Actions
POJO Based Actions vs the Action interface
RequestContext and ExternalContext
Validation and Error Reporting
Defining Validation in the Model and in a Validator Class
ValidationContext, MessageContext, and Resource Bundles
Converters
Subflows
Defining and Using
Input/Output Variables
Conversation Scope Variables
Subflow End States

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.