Java EE: Web Development Using Spring 3.0, Part 3 of 5
Interactive

Java EE: Web Development Using Spring 3.0, Part 3 of 5

LearnNow Online
Updated Oct 26, 2018

Course description

The Spring 3.0 framework gives Java developers a strong platform for creating websites and web applications. This course will cover many aspects of web development starting with Direct Web Remoting (DWR). From there the course will cover Spring and Struts which covers Model View Controller. After that the course moves on to WebFlows and testing with Unit Testing and Spring. The later sections of the course will cover the important subject of Security. They will cover Enterprise and Web security and then how to customize web security, securing Java code and user versus role based security.

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

127 Minutes

Time to complete

167 Minutes

Course Outline

Module 5

Spring Web Flows Continued (28:10)

  • Introduction (00:15)
  • Spring WebFlow Components (08:08)
  • WebFlow DispatcherServlet (01:02)
  • WebFlow Controller (01:16)
  • WebFlow FlowExecutor (01:17)
  • States (03:34)
  • Variables (01:46)
  • Coding the View (02:19)
  • Triggering Event: Named Button (01:16)
  • Triggering Event: Link (00:50)
  • Subflows (04:27)
  • Shopping Cart Flow Diagram (01:03)
  • Subflow Definition (00:24)
  • Summary (00:28)

Overview of Unit Testing (41:12)

  • Introduction (00:33)
  • What is Unit Testing (09:45)
  • Purpose of Unit Testing (04:21)
  • Successful Unit Testing (03:20)
  • JUnit Overview (01:41)
  • Reasons to Use JUnit (06:07)
  • How JUnit Works (05:16)
  • Creating a TestCase (03:26)
  • JUnit Methods to Override (03:21)
  • Introducting Class Message (01:50)
  • Demo: Class MessageTest (01:23)
  • Summary (00:06)
Module 6

More Overview of Unit Testing (31:34)

  • Introduction (00:15)
  • Creating Class MessageTest (04:04)
  • Demo: Class MessageTest (07:44)
  • Demo: Create Test Method (05:01)
  • Demo: Insert Equals (00:42)
  • Demo: Run Test (04:55)
  • Demo: Recap Order of Events (02:43)
  • Defining a TestSuite (02:39)
  • Example TestSuite (03:02)
  • Summary (00:25)

Unit Testing and Spring (26:46)

  • Introduction (00:31)
  • Spring Makes Testing Easy (03:17)
  • Spring Specific Tests (02:17)
  • Integration Testing (01:55)
  • Testing SpringMVC Controller (03:06)
  • Testing a Controller"s Output (05:00)
  • Request and Response Objects (01:21)
  • Initializing Request Object (01:09)
  • Streamlining Your Assertions (02:19)
  • Model And View Assert Methods (02:47)
  • Rewrite to Use New Assertions (02:43)
  • Summary (00:17)
;