Java EE Programming: Spring 3.0, Part 4 of 7
Interactive

Java EE Programming: Spring 3.0, Part 4 of 7

LearnNow Online
Updated Oct 25, 2018

Course description

The Spring framework is an application framework that provides a lightweight container that supports the creation of simple to complex components in a non-invasive fashion. The Spring flexibility and transparency is congruent and supportive of incremental development and testing. The framework structure supports the layering of functionality such as persistence, transactions, view-oriented frameworks, and enterprise systems and capabilities. Spring makes JavaEE development easier. Spring simplifies common tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many JEE design patterns. Spring puts the OO design back into your JEE application. This Spring course will take an in-depth tour of the basic Spring framework, initially examining concepts such as Inversion of Control and Dependency Injection, and then working with the container and basic components. The improved Spring 3.0 configuration management options centered on the Spring Expression Language (SPEL) is covered. The course then moves into the areas of persistence and transactions, looking at various options including both JDBC and Hibernate. You will then look at options for handling the view portion of MVC web architecture.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This an intermediate- level Spring 3.0 training course, designed for developers who need to understand how and when to use Spring in Java and JEE applications. You should have practical basic Java development experience.


Meet the expert

Greg Matus

Greg Matus combines his practical programming skills and mentoring excellence to develop the highest quality educational programs available. His technical focus includes developing programs and projects focused around advanced application development, performance, and tuning skills and technologies. His specialties include Java, advanced J2EE / JEE, AJAX, XML, Web Services, JSP, SQL, JDBC and Database topics, Oracle, Eclipse, WebLogic, and more.

Video Runtime

106 Minutes

Time to complete

126 Minutes

Course Outline

Persistence in Spring

AOP Annotations (36:18)

  • Introduction (00:34)
  • Advice: Introductions (00:45)
  • What is an Introduction (02:41)
  • Introduction: Example (01:28)
  • Difference from Around Advice (02:18)
  • Complete Working Example (02:26)
  • Example: The Lockable Interface (00:57)
  • Example: Underlying POJO (00:51)
  • Example: Client Code (02:41)
  • Example: What are the Challenges (01:23)
  • Generated Proxy Object Structure (01:12)
  • Create a LockableImpl (00:33)
  • The Aspect Itself (01:05)
  • Overview of the Code (00:29)
  • Declaring the Aspect: mixin (03:58)
  • Declaring the Aspect: interaction (01:03)
  • Declaring the Interaction (00:51)
  • @Before Interaction Behavior (00:38)
  • @Before Aspect Declaration (01:52)
  • Pointcut Specification (01:00)
  • IsLockable Annotation (01:48)
  • Spring Config File (02:47)
  • Introduction Advice (02:20)
  • Summary (00:27)

Persistence In Spring (10:34)

  • Introduction (00:32)
  • Spring Architecture (02:12)
  • DAO Implementations (06:06)
  • Transaction Support (05:30)
  • Continued: Transaction Support (06:06)
  • Isolation Level Concepts (06:49)
  • Propagation Behavior (05:09)
  • Transaction Config (00:56)
  • Programmatic Transaction (07:32)
  • Declarative Transactions (01:36)
  • Benefits of Declarative Trans (06:23)
  • Two Forms of Declarative Trans (10:42)
  • The Java Code is Simple (05:12)
  • Example: Declarative Annotations (05:23)
  • Summary (00:19)