Fast Track to Spring Framework 3.x and Spring Framework MVC/REST Training in Worcester

Enroll in or hire us to teach our Fast Track to Spring Framework 3.x and Spring Framework MVC/REST class in Worcester, Massachusetts by calling us @303.377.6176. Like all HSG classes, Fast Track to Spring Framework 3.x and Spring Framework MVC/REST 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 and Spring Framework MVC/REST 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 5 day course is current with Spring 3.2, as well as earlier versions. It includes complete coverage of the annotation based approach to configuration, as well as coverage of the traditional XML - based configuration that can still play an important role in existing and new projects. 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 Injection / Inversion of Control. Its advanced capabilities provide support for persistence frameworks like Hibernate (DAO and ORM modules), Aspect - Oriented Programming (AOP module), and integration with Java EE Web technologies, security, transactions, and more. This course is current with Spring 3.2, as well as earlier versions. The course includes integration of Spring with Java EE Web applications, and an introduction to Spring's Web MVC. Spring MVC is a Web framework base d on the powerful Model - View - Controller pattern, and the introduction covers the basics of Spring MVC, and how it supports organizing your Web applications in a highly structured, loosely coupled manner. The course now includes an introduction to REST (Representational state transfer) principles, and how to use Spring MVC to build RESTful services.
Course Length: 5 Days
Course Tuition: $2090 (US)

Prerequisites

A good working knowledge of basic Java programming, interfaces, and JDBC.

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
Configuration Metadata
Declaring Beans
The Spring Container
Why Bother?
Dependencies and Dependency Injection
Dependencies between Objects
Dependency Inversion Principle
Advantages of Dependency Injection
Dependency Injection Reduces Coupling

2. More about Bean Properties
Working with Properties
Using Value Based Properties
Property Conversions
Constructor Injection
Constructor Argument
Resolution
Collection Valued Properties
Configuring and
Properties
Configuring Collection of Bean
References
Map Valued Properties
Additional Capabilities
Factory methods, Bean Aliases,
Definition Inheritance
Autowiring

3. The Spring Container and API
Application Context
Resource Access – Overview,
Resource
Implementations
Bean Scope and Lifecycle
Annotation Driven Configuration
Enabling Spring Annotations
Complete Declarations Using
Annotations
XML Config for Annotations and
Scanning
Qualifiers
Lifecycle Annotations
Java - based Configurations
Dependencies Between Configuration
Classes
Classpath Scanning
Other @Bean Capabilities
Maven and Spring
How We will work with Maven
The POM
Repositories
Eclipse/Maven Integrations

4. Database Access with Spring
Overview of Spring database support
Configuring a DataSource
Using Spring with Hibernate
SessionFactory configuration
Using Contextual Sessions
Using Spring with JPA
LocalEntityManagerFactoryBean
JEE: Obtaining an EntityManager from
JNDI
Extended Persistence Context

5. Transactions
Intro to Spring Transaction Management
JTA Transaction Manager
Spring Transactional Scope
Using Spring Transactions
Transaction Attributes for Propagation
Rolling Back and Exceptions
Spring's Load - Time Weaving

6. Web Applications with Spring MVC
Integrating Spring with Java EE Web
Apps, ContextLoaderListener,
WebApplicationContext
Spring Web MVC Overview,
Capabilities, Architecture
Spring MVC Basics
DispatcherServlet, Configuration, MVC
Controllers
Returning Model Data
The JSP Pages
Forms and Command Objects
A JavaBean Command Class

7. Spring Security Overview
Overview - Capabilities,
Architecture
Introduction to Spring Security
HTTP Security
Method Security
Annotation - Based Security
Expression - Based Access
Control
Authentication Providers

8. RESTful Services with Spring
REST Overview
Characteristics and Capabilities
URI Templates
REST vs SOAP
REST and Spring MVC
Spring support for REST
Writing RESTful Controllers
Returning XML and JSON data
Client - side Access to RESTful
Services
Client Requirements and RestTemplate
Using RestTemplate
Accessing Header Info
Common REST Patterns

9. Aspect Oriented Programming
(AOP) (optional)
Overview of AOP
Introduction to Spring AOP
Pointcut Expressions and Advice
XML Based AOP Support
Defining Aspects Using XML
Spring Proxies and Direct
Invocation
Is AOP Worth It?
Other AOP Capabilities and
Functionality

 

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.