Training

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

439 University Av
Suite 820
Toronto, ON
M5G 1Y8

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

 

Home > Training > Java, Java EE and Frameworks > Spring Framework 3.0 >

WA2019 Developing Rich Web Applications with Spring 3 Using Eclipse and WebSphere Training and Courseware (Coming Soon)

This training course teaches the various technologies that can be used with Spring web applications. Spring support for various database technologies, including JPA is also covered. Several web application frameworks and how they integrate with Spring are covered including Spring MVC, Spring Web Flow, and Spring-JSF integration. Other requirements of web applications like using the Tiles template technology or adding dynamic PDF or spreadsheet output to the web application are covered. Finally how to use the Ajax integration of Spring JavaScript is covered.

Objectives

  Upon completion of this course, you should be able to:
  • Understand the need for the Spring framework
  • Integrate Spring with the JPA ORM framework
  • Use the Spring MVC web framework to develop flexible web applications
  • Use Spring Web Flow to create conversational web applications
  • Integrate Spring with JSF applications
  • Use AJAX with Spring
 

Topics

 
  • Introduction to JPA
  • JPA and Database Support in Spring
  • Spring MVC
  • Introduction to Spring Web Flow
  • Using JSF with Spring
  • Introduction to AJAX
  • Using AJAX with Spring

Audience

 

Software designers, developers and programmers.

Prerequisites

 

To succeed fully in this course, students should be able to:

  • Program Java applications - Course WA1278 meets this requirement

Duration

  Three days.

Course Outline

Chapter 1. Entities and Java Persistence API

  • Data Persistence
  • Java Persistence API
  • Entities
  • Session Beans Vs Entities
  • Entities
  • Persisting and Retrieving Data
  • Accessing Entities
  • EntityManager & Persistence Unit
  • Persistence Context
  • Entities - Example
  • persistence.xml – Hibernate Provider
  • persistence.xml – Open JPA Provider
  • persistence.xml - Toplink
  • Entity Instance Lifecycle
  • Creating EntityManager in Session EJB
  • Creating EntityManager in a Plain Java Class
  • Working With the EntityManager Interface
  • Transaction Basics
  • Summary

Chapter 2. Using Spring with JPA or Hibernate

  • Spring ORM
  • Benefits of Using Spring with ORM
  • Spring @Repository
  • Using JPA with Spring
  • Configure Spring JPA EntityManagerFactory
  • Using JNDI to Lookup JPA EntityManagerFactory
  • LocalContainerEntityManagerFactoryBean
  • LocalEntityManagerFactoryBean
  • Application JPA Code
  • Hibernate
  • Hibernate Session Factory
  • Spring LocalSessionFactoryBean
  • Application Hibernate Code
  • "Classic" Spring ORM Usage
  • Spring JpaTemplate
  • Spring JpaCallback
  • JpaTemplate Convenience Features
  • Spring HibernateTemplate
  • Spring HibernateCallback
  • HibernateTemplate Convenience Methods
  • Summary

Chapter 3. Spring MVC

  • Spring MVC
  • Spring MVC Components
  • DispatcherServlet
  • Context Loaders
  • Spring MVC Example
  • Mapping Web Requests
  • BeanNameUrlHandlerMapping
  • CommonsPathMapHandlerMapping
  • Using Multiple Handler Mappings
  • Controller Hierarchy
  • AbstractCommandController
  • SimpleFormController
  • AbstractWizardFormController
  • MultiActionController
  • ThrowawayController
  • View Resolution
  • InternalResourceViewResolver
  • BeanNameViewResolver
  • XmlViewResolver
  • ResourceBundleViewResolver
  • Using Multiple View Resolvers
  • Binding Views to Models
  • Spring Form Tags
  • form and input Tags
  • password and hidden Tags
  • checkbox Tag
  • radiobutton Tag
  • textarea Tag
  • select Tag
  • option Tag
  • options Tag
  • errors Tag

Chapter 4. Tiles Web Application Templates

  • Apache Tiles
  • Configuring Tiles in Spring
  • Tiles URL-based View Resolver
  • Tiles ViewPreparer
  • Tiles ViewPreparer Configuration
  • Summary

Chapter 5. Alternate Content with Spring Web Apps

  • Creating Excel Spreadsheets
  • Creating PDF Documents
  • Creating Other Non-HTML Documents
  • Summary

Chapter 6. Introduction to Spring Web Flow 2

  • What is Spring Web Flow 2?
  • Relationship to Spring and Spring MVC
  • Spring Web Flow 2 Modules
  • Integration Support
  • What is a Flow?
  • Book Hotel Flow Example
  • Book Hotel Flow Definition
  • Benefits of Spring Web Flow 2
  • Required Software
  • Configuration Steps
  • JAR File Instructions
  • Configure web.xml
  • Spring Web Flow Components
  • Sample Spring Web Flow Configuration File
  • Summary

Chapter 7. Defining Flows

  • Recap: What is a Flow?
  • Recap: Book Hotel Flow Example
  • Flow Definition Language
  • Skeletal Flow Definition
  • States
  • View State
  • Transitions
  • Generating Events
  • Generating Events using Submit Button
  • Generating Events using Links
  • End States
  • Actions
  • When do Actions Occur?
  • Putting it all Together
  • Introduction to Unified Expression Language
  • Unified Expression Language Functionality
  • Unified Expression Language Implicit Variables
  • Flow Instances
  • Flow Variables
  • Variable Scopes
  • Assigning and Accessing Variables
  • Flow Input
  • Binding a View to a Model
  • Summary

Chapter 8. Using JSF with Spring

  • JSF Integration Options
  • DelegatingVariableResolver
  • SpringBeanVariableResolver
  • SpringBeanFacesELResolver
  • Spring Bean Scopes
  • FacesContextUtils
  • JSF with Spring Web Flow

Chapter 9. Spring Security

  • Securing Web Applications with Spring Security 3.0
  • Spring Security 3.0
  • Authentication and Authorization
  • Programmatic v Declarative Security
  • Getting Spring Security from Maven
  • Spring Security Configuration
  • Spring Security Settings in Spring Configuration
  • Basic Web Security Configuration
  • Granting Anonymous Access to Pages and Resources
  • Requiring Encrypted HTTPS Communication
  • Customizing Form-based Login
  • Custom Login Page
  • Configure Logout
  • Session Management
  • Selectively Display Links in a JSP
  • Method Level Security
  • Authentication Manager
  • Using Database User Authentication
  • LDAP Authentication
  • Encoding Passwords
  • Using an External Authentication Provider
  • Summary

Chapter 10. Introduction to AJAX

  • What is AJAX?
  • A Simple Example
  • The Old Way
  • The AJAX Way
  • Two Key Aspects of AJAX
  • What are the Advantages of the AJAX Approach?
  • AJAX Technologies
  • The Basic AJAX API
  • Creating the XMLHttpRequest Object
  • The XMLHttpRequest Object Basics
  • Complete Example
  • The Timeline
  • Review Questions
  • Review Answers

Chapter 11. Using JavaScript with Spring

  • Spring JavaScript
  • Relationship to Dojo
  • Serving JavaScript Resources
  • Including Spring JavaScript
  • Spring JavaScript Decorations
  • Dijit ValidationTextBox Decoration
  • Dijit DateTextBox Decoration
  • Spring ValidateAllDecoration
  • Handling Ajax Requests with Spring MVC
  • Handling Ajax Requests with Spring Web Flow
  • Summary

Chapter 12. Spring REST Services

  • Many Flavors of Services
  • Understanding REST
  • RESTful Services
  • REST Resource Examples
  • REST vs SOAP
  • Relation to Spring MVC
  • Adding REST Capability to Existing Spring MVC Applications
  • RestTemplate
  • HTTP Message Conversion
  • Summary

Chapter 13. Review of New Features in Spring 3.0

  • Requirements and Supported Environments
  • Using Spring with Servers
  • Packaging
  • Spring Expression Language
  • Java-based Configuration
  • Annotation-based Configuration
  • Spring MVC Changes
  • New Spring MVC Configuration
  • Spring MVC Annotation Example
  • Validation
  • Summary
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
Outline Course Outline

Buy on-site and customized class

*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.