Fast Track to Spring Framework 3.x Training in Cambridge

Enroll in or hire us to teach our Fast Track to Spring Framework 3.x class in Cambridge, Massachusetts by calling us @303.377.6176. Like all HSG classes, Fast Track to Spring Framework 3.x 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 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 3 - 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. The course starts with the basics of Spring and in - depth coverage on using the powerful capabilities of the Core module to reduce coupling and increase the flexibility, ease of maintenance, and testing of your applicati ons. It goes on to cover many of the most important capabilities of Spring 3, including using Spring to simplify the creation of a persistence layer with persistence frameworks like Hibernate and JPA. It includes coverage of advanced capabilities such as u sing Spring's Aspect Oriented Programming (AOP) to program cross - cutting concerns such as transactions and security. The course includes integration of Spring with Java EE Web applications, and an introduction to Spring Security v3, its architecture, and how to use it to secure both Web application requests and bean invocations .
Course Length: 3 Days
Course Tuition: $1290 (US)

Prerequisites

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

Course Outline

 
Session 1:  
Introduction
Overview of Spring Technology
Shortcomings of Java EE, Spring Architecture
Spring Introduction
Managing Beans, The Spring Container, IoC, DI
Configuration Metadata - XML, @Component, Auto-Detecting Beans
Dependencies and Dependency Injection (DI)
Dependency Inversion, Dependency Injection (DI) in Spring, DI Configuration - XML, @Resource
 
Session 2:  
More about Bean Properties
Working with Properties
Configuring Value Properties, Property Conversions, Setter / Constructor Injection
Spring Expression Language for Configuration
Collection Valued Properties
Configuring and using lists, sets, etc.
Additional Capabilities
Factory Methods, Bean Aliases, Definition Inheritance (Parent Beans)
 
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, Lifecycle Callbacks, BeanPostProcessor, Event Handling
Annotation Driven Configuration
Stereotypes: @Component, @Service, @Controller, @Repository
Java EE 5 Annotation Support
Defining Custom Annotations
Autowiring
@Autowired on setters, constructers, methods, fields
Injecting resources like ApplicationContext
Fine tuning with @Qualifier
Java Based Bean Metadata (JavaConfig)
Overview - code-centric Configuration
@Confguration, @Bean, and @Value
Importing and @Import
Autowiring in Configuration Classes
Mixing XML Configuration and @Configuration
XML vs Annotation Based Configuration
 
Session 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, LocalContainerEntityManagerFactoryBean, JNDI, PersistenceUnitManager
DAO Support - @PersistenceUnit, @PersistenceContext
 
Session 5:  
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
Proxy-based implementation issues
Load-time Weaving
XML Configured Transactions
<tx:*> elements, Configuring tx:advice, and tx:attributes
Defining the TX advisor
 
Session 6:  
Introduction to Spring Web Integration
Integrating Spring with Java EE Web Apps
ContextLoaderListener
WebApplicationContext
Using Spring beans in Wep app controller logic
 
Session 7:  
Overview of Spring Security
Overview - Capabilities, Architecture
Introduction to Spring Security
HTTP Security
Method Security
Annotation-Based Security
Expression-Based Access Control
Authentication Providers
 
[Optional] Session 8:  
Aspect Oriented Programming (AOP)
Overview of AOP
AOP Basics, Aspect, Joinpoint, Advice, Pointcut
Introduction to Spring AOP
Capabilities, Configuration (Annotation Based and XML), Weaving, Joinpoints
Using Aspects
Defining Advice, Configuring Pointcuts, Targets and Proxies
XML Configuration with <aop:>
AspectJ Pointcuts, Autoproxies
Using @AspectJ Annotations
@AspectJ Annotations, Declaring Advice

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.