Fast Track to Spring and Hibernate Training in San Jose

Enroll in or hire us to teach our Fast Track to Spring and Hibernate class in San Jose, California by calling us @303.377.6176. Like all HSG classes, Fast Track to Spring and Hibernate 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 and Hibernate 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 course provides comprehensive introductions to the Spring and Hibernate open source frameworks. Suitable for both Spring3/Hibernate3 and Spring4/Hibernate4, it includes coverage of all the core Spring and Hibernate capabilities, as well as the integration capabilities provided by Spring. The course includes an extensive set of hands-on labs that reinforce all the important concepts and capabilities. It will enable you to build working Spring/Hibernate applications, and give you an understanding of the important concepts and technology in a very short time. Spring: As well as being current with recent Spring releases, this course introduces techniques for using the many new and powerful capabilities that Spring supports. It includes complete coverage of the three main configuration styles (@Configuration, @Component, XML), and guidelines for their usage. It also covers more advanced capabilities such as support for JDBC and persistence frameworks like Hibernate, Spring declarative transactions, and Spring integration with Java EE Web technologies. Hibernate: The course covers all important capabilities of this open source object/relational persistence and query service for Java. Coverage includes developing persistent classes in Java, as well as using associations/relationships, inheritance, polymorphism, composition and collections. It also provides an overview of JPA (the Java Persistence API).
Course Length: 5 Days
Course Tuition: $2090 (US)

Prerequisites

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

Course Outline

 
Session 1:  
Introduction to Spring
Overview of Spring Technology
Challenges for Modern Applications
Motivation for Spring, Spring Architecture
The Spring Framework
Spring Introduction
Managing Beans
Inversion of Control / IoC, Dependency Injection / DI
Configuration Metadata Overview, Configuring Beans (XML)
The Spring Container
Overview of the Spring Container
A Simple Spring Example
ApplicationContext Overview
ClassPathXmlApplicationContext, FileSystemXmlApplicationContext, AnnotationConfigApplicationContext
API and Usage
Dependencies and Dependency Injection (DI)
Examining Dependencies
Dependency Inversion
Dependency Injection (DI) in Spring - Basic Configuration and Usage
 
Session 2:  
Configuration in Depth
Annotation Driven Configuration
JSR 330 (@Named) and Spring (@Component) annotation styles
@Named/@Component, @Inject/@Autowired, @Repository, @Service
Configuring Beans and Autowiring with Annotations
Enabling Annotations - context:component-scan
Pros and Cons
Java Based Configuration (@Configuration)
Overview - code-centric Configuration
@Configuration and @Bean
Dependency Injection
Resolving Dependencies on Other Beans, Injecting Configuration Classes
Pros and Cons
Integrating Configuration Types
Choosing a Configuration Style
Integrating Configuration Styles
Importing: @Import and
Scanning with @Configuration style
Bean Scope and Lifecycle
Bean Scope Defined - singleton, prototype, and Other Scopes
Configuring Scope
Bean Creation Lifecycle, Lifecycle Callbacks
BeanPostProcessor, Event Handling
 
Session 3:  
Wiring in Depth
Value Injection
Configuring Value Properties, Property Conversions
Externalizing Values in Properties Files
Constructor Injection
Constructor Injection Overview
Configuration - @Configuration and XML
p: and c: namespaces for XML configuration
Qualifiers / Domain Specific Language (DSL)
Limitations of Autowiring
Qualifiers and DSL
Creating and Using an Annotation-Based DSL for Bean Configuration
Benefits of Qualifiers for Bean Configuration
Profiles
Profiles Overview
Configuring Profiles (XML and @Configuration)
Activating Profiles
Overview of SpEL
 
Session 4: 
Introduction to Hibernate
Issues with Persistence layers and Object-Relational Mapping (ORM)
Hibernate Overview and Benefits
Hibernate architecture overview
Configuring Hibernate
hibernate.cfg.xml file, Connection properties, Database dialect
SessionFactory, Configuration, and Session
Mapping a Class
Persistent Entity Class, Hibernate Mapping File, Mapping the Entity Class
Primary keys: Id property, Generated Id
Hibernate Type System
Working with sessions and Persistent Objects
Logging: hibernate.show_sql, log4j Overview and configuration for Hibernate
 
Session 5: 
Spring/Hibernate Integration
Overview of Spring database support
Configuring a DataSource
Using Contextual Sessions
Spring/Hibernate configuration with LocalSessionFactoryBean and SessionFactory configuration
Creating Spring/Hibernate DAO classes using Contextual Sessions
Overview of Template Approach
 
Session 6: 
Updates and Queries
Inserting, Updating, and Deleting Entities
HQL - Hibernate Query Language Overview
The Query Interface
Creating and working with queries
Named Queries, Projection Queries, Aggregate Queries
 
Session 7:
Transaction (TX) Management
Hibernate Transaction Management
Transaction Overview and Transactions in Hibernate
Hibernate Transaction API (in Managed and Non-managed Environments)
Intro to Spring Transaction Management
Spring Transaction Managers
Spring Declarative TX Management
Spring TX Scope and Propagation
Spring TX Attributes (REQUIRED, SUPPORTS, etc)
XML Configuration of Spring Transactions
Specifying Advice, TX Attributes, and Methods
Linking Advice with Pointcuts
Benefits of XML Configuration of TX Behavior
 
Session 9: 
The Hibernate Persistence Lifecycle
The lifecycle of managed objects
Persistent, transient, and detached objects
The Persistence (Session) Context (Lifespan, Relation to Managed Objects, Propagation)
Contextual Sessions
Synchronization to the Database
The Session as cache
Optimistic Locking / Versioning
Detached Objects and Optimistic Locking
Versioning overview and Using Versioning
Locking Objects
 
Session 10: 
Relationships
Object Relationship Overview
Mapping Collections of Value Objects
Entity Relationships: 1-N, N-1, N-N, 1-1
Mapping Entity Relationships
Uni and Bi-directional Relationships
The Relationship "inverse"
Cascading Over Relationships
Queries Across Relationships (Lazy and Eager)
Inheritance Mapping
Entity Inheritance with Hibernate
Table-per-class mapping
Table per Subclass mapping
Table per Concrete Class mapping
 
Session 11:  
Introduction to Spring Web Integration
Integrating Spring with Java EE Web Apps
ContextLoaderListener
WebApplicationContext
Using Spring beans in Wep app controller logic
 
Session 12: 
Hibernate Additional Topics
Components and Multi-Table Mapping
equals() and hashCode()
Caching and Efficiency
Design Considerations
 
Session 13: 
Hibernate and JPA (Java Persistence API)
Overview of the Java Persistence API (JPA) / EJB 3
Relationship between JPA and Hibernate
Mapping Entities with JPA Annotations
The EntityManager, Persistence Context and Persistence Unit
Working with Transactions - EntityTransaction, Managed, and Unmanaged Environments
Inserts and Updates
JPQL - Java Persistence Query Language
Versioning
Relationships

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.