Training Capstone Courseware

Training goals dlearning

code: CC-117B | version: v4.2

This course enables the experienced Java developer to use the Spring application framework to manage objects in a lightweight, inversion-of-control container, and to build persistence components and application tiers using Spring's support for relational databases and transaction control.

Spring's core module gives the developer declarative control over object creation and assembly; this is useful for any tier of any Java application, so we study it in some depth to begin the course. Then students build persistence code using the Spring DAO and ORM modules, using both JDBC and JPA, with Hibernate as the provider. We study both programmatic and declarative transaction control. The course concludes with a chapter on Spring's testing framework, with a focus on test-managed transactions.

Learning Objectives

  • Understand the scope, purpose, and architecture of Spring
  • Use Spring application contexts to declare application components, rather than hard-coding their states and lifecycles
  • Use dependency injection to further control object relationships from outside the Java code base
  • Use annotations to take advantage of Spring post-processors for automated bean instantiation and wiring
  • Connect business objects to persistent stores using Spring's DAO and ORM modules
  • Simplify JDBC code using Spring templates
  • Integrate JPA entities and DAOs into Spring applications
  • Control transactions using Spring, either programmatically or declaratively
  • Develop effective unit tests using Spring's test framework

Conspect Show list

  1. Overview of Spring
    • Java EE: The Good, The Bad, and the Ugly
    • Enter the Framework
    • Spring Value Proposition
    • The Spring Container
    • Web Applications
    • Persistence Support
    • Aspect-Oriented Programming
    • The Java EE Module(s)
  2. The Container
    • JavaBeans, Reconsidered
    • The Factory Pattern
    • Inversion of Control
    • XML View: Declaring Beans
    • Java View: Using Beans
    • Singletons and Prototypes
  3. Instantiation and Configuration
    • Configuring Through Properties
    • Configuration Namespaces
    • The p: Notation
    • Bean (Configuration) Inheritance
    • Configuring Through Constructors
    • Bean Post-Processors
    • Lifecycle Hooks
    • Integrating Existing Factory Code
    • Awareness Interfaces
  4. Dependency Injection
    • Assembling Object Graphs
    • Dependency Injection
    • Single and Multiple Relationships
    • The Utility Schema
    • Using Spring Expression Language (SpEL)
    • Inner Beans
    • Autowiring
    • @Component, @Service, & Company
    • @Autowired Properties
    • Best Practices with Spring Annotations
    • Java Classes as @Configurations
    • AnnotationConfigApplicationContext
    • Capabilities and Limitations
    • Mixing and Importing XML and Java Configurations
  5. Assembling Object Models
    • Collections and Maps
    • Support for Generics
    • The Spring Utility Schema (util:)
    • Autowiring to Multiple Beans
    • Order of Instantiation
    • Bean Factory vs. Application Context
  6. Persistence with JDBC
    • Reducing Code Complexity
    • The DataAccessException Hierarchy
    • JdbcTemplate
    • RowMapperand ResultSetExtractor
    • The DaoSupport Hierarchy
    • Capturing Generated Keys
    • Transaction Control
    • PlatformTransactionManager
    • TransactionTemplate
    • Isolation Levels
    • Transaction Propagation
  7. Persistence with JPA
    • Object/Relational Mapping
    • The Java Persistence API
    • JpaDaoSupport and JpaTemplate
    • @PersistenceUnit and @PersistenceContext
    • Shared Entity Managers
    • Using
    • The @Transactional Annotation
    • Isolation and Propagation
    • A Limitation of @Transactional
    • Understanding Entity States
    • Configuring JPA Without persistence.xml
    • Bean Validation in JPA
    • Optimistic Locking
  8. Testing
    • Testability of Spring Applications
    • Dependency Injection
    • Mocking
    • SpringJUnit4ClassRunner
    • TestContext
    • @ContextConfiguration
    • Preserving Test Isolation
    • @DirtiesContext
    • AbstractTransactionalJUnit4SpringContextTests
    • Testing JPA Components
    • Mixing JPA and JDBC
    • TestTransaction
    • Profiles
Download conspect training as PDF

Additional information

Requirements
Difficulty level
Duration 3 days
Certificate

The participants will obtain certificates signed by Capstone Courseware.

Trainer

Authorized Capstone Courseware Trainer.

Other training Capstone Courseware | Source Frameworks

Training thematically related

Programming

Java

Contact form

Please fill form below to obtain more info about this training.







* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

725 EUR

close

Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)

FORM OF TRAINING ?

close

Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit dlearning.eu site

TRAINING MATERIALS ?

close

Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.

 

SELECT TERM TRAINING

No deadlines for this training.

Suggest your own appointment

Upcoming Capstone Courseware training

Training schedule
Capstone Courseware