Learn: in:
» back to Search Results

Course rating of 0 Vendor rating of 4


Understand the scope & architecture of Spring; Use Spring's Inversion of Control to declare application components rather than hard-coding their states & lifecycles; Use Dependency Injection to further control object relationships from outside Java code


 
Course Outline
Spring Framework provides a new framework based on the Model-View-Controller paradigm. However, it is better designed than others frameworks such as Struts because of clear separation between tiers.

The Dependency Injection allows separating configuration and implementation in an efficient way. In addition, you have the opportunity to integrate easily Spring MVC with view technologies or even persistence technologies (Hibernate, EJB).

Other frameworks require you to extend or implement specific classes or interfaces in your own classes. However, an MVC implementation should be non-intrusive, and Spring is. Your domain objects do not need to extend some class, going from view tier to business tier without processing.

Objectives
    * Understand the scope, purpose, and architecture of Spring
    * Use Spring's Inversion of Control 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
    * Create validators for business objects, and associate them for application-level and unit-testing uses
    * Build a Web application as a Spring DispatcherServlet and associated application context, with declared beans acting as controllers, command objects, and view resolvers
    * Build and manage HTML forms with Spring command objects and custom tags
    * Use Spring interceptors to implement horizontal features in the Web application
    * Connect business objects to persistent stores using Spring's DAO and ORM modules

Course Outline

Chapter 1: Introduction to Spring

  • Overview
  • Spring Characteristics
  • €Spring Modules
  • The Core Package
  • The Context Package
  • The DAO Package
  • The ORM Package
  • The AOP Package
  • €The Web Package
  • €The MVC Package
  • What is new in Spring 2.0?
  • Hello World in Spring

Chapter 2: Introducing Inversion of Control

  • Basics €" Containers and Beans
  • The Container
  • The Factory Pattern
  • Configuration Methadata
  • Beans.xml
  • Instatiating a Container
  • Dependencies
  • Injecting Dependencies
  • Setter Injection
  • Example: Setter Injection
  • Constructor Injection
  • Avoiding Constructor Confusion
  • Injecting Parameters: Simple Values
  • Injecting Parameters: Beans in the Same Factory
  • Injecting Using Bean Aliases
  • Using Collection For Injection
  • Auto-Wiring
  • Auto-Wiring Example

Chapter 3: Managing the Beans

  • Instantiating Beans Using Constructor
  • Other than no-args constructor
  • Instantiating Beans Using Static Factory Method
  • Bean Scopes
  • Singleton Scope
  • The Prototype Scope
  • Beans Life Cycle Managment
  • Interface Based Techniques
  • Method Based Techniques
  • Destruction Callbacks- Interface Technique
  • Destruction Callbacks €" Method Technuque
  • BeansFactoryAware Interface

Chapter 4: Aspect Oriented Programming

  • AOP Concepts
  • €Types of AOP
  • €AOP in Spring
  • €Types of Advice
  • €Hello World in AOP
  • €ProxyFactory Class
  • €Creating Simle Before Advice
  • €Creating After Returning Advice
  • €Choosing an Advice Type
  • €Adisors and Pointcuts.
  • €Pointcuts
  • €Using DefaultPointcutAdvisor
  • €Example: Creating a Static Pointcut
  • €Example: Creating a Dynamic Pointcut

Chapter 5: Web Applications with Spring MVC

  • Overview
  • €MVC
  • €The Front Controller Pattern
  • €The DispatcherServlet Class
  • €Spring MVC Flow
  • €Spring XML File
  • €Example
  • €Handler Mapping
  • €Controllers
  • €HelloController
  • €Hello World MVC Application
  • €Summary
  • €Working With Forms
  • €Adding a Form
  • €Command Object
  • €Controller Hierarchy
  • €AbstractCommandController
  • €SimpleFormController
  • €Handler Mappings
  • €BeanNameUrlHandlerMapping
  • €SimpleUrlHandlerMapping 
  • €Views
  • €Resolving Views
  • €InternalResourceViewResolver
  • €Example

Chapter 6: JDBC

  • Overview of JDBC
  • €Connecting to the DataBase
  • €Submitting the SQL statements
  • €Retrieving and processing data
  • €Example
  • €Data Access Object
  • €Exercise

Chapter 7:  Spring Data Access Using JDBC

  • Spring JDBC
  • €The package hierarchy
  • JdbcTemplate
  • Inserting Data With DJdbcTemplate
  • Example : Servlet
  • Example: beans.xml (dataSource)
  • Example: CustomerDaoJdbcImpl.java
  • Reading Data With DJdbcTemplate
  • Example

Chapter 8: Hibernate

  • Overview
  • Features Of Hibernate
  • Hibernate Architecture
  • Integrated Hibernate With Java
  • €Main Components Of Hibernate
  • Commonly Used Classes of Hibernate
  • Example
  • Creating Persistence Java Objects
  • Mapping Persistent Object
  • Hibernate Configuration File
  • Inserting New Record
  • Deleting a Record
  • Quering the database
  • Example
  • €Exercise
  • Integrating Hibernate With Spring
  • Using Hibernate Template
  • LocalSessionFactory
  • Accessing Data Through The Hibernate Template
  • €Example

   
Chapter 9: Java Persistence API (JPA)

  • Introducing JPA
  • Hibernate And JPA
  • Using Annotation
  • Using Hibernate EntityManager
  • persistence.xml
  • Hibernate_JPA Project
  • Example
  • Spring DAO
  • Using JPA Template
  • Using CustomerJpaDAO
  • Example

Chapter  10:  Spring Validation

  • Spring Validation Approach
  • Spring Options
  • Programmatically Option
  • Validator Class
  • XML file
  • Writing JSP
  • Example

Chapter 11:  Filters

  • Filters
  • Creating Basic Filters
  • Filter Mapping
  • Examples

Chapter  12:  Spring Security (Part 1)

  • Overview
  • How Web Security Works
  • Security Definitions
  • The Four Checks
  • Filters
  • FilterToBeanProxy
  • FilterChainProxy
  • Configuration
  • The Filter Chain
  • AuthenticationProcessingFilter
  • The HttpSessionContextIntegrationFilter
  • The ExceptionTranslationFilter
  • FilterSecurityInterceptor
  • AuthenticationManager
  • AccessDecisionManager
  • AuthenticationEntryPoint
  • Securing Web Resources
  • Example
  • Securing Method Invocation
  • Example
  • View-layer security
  • Example
  • €Summary
  • Example

Chapter  13:  Spring Security (Part 2)

  • What is Spring Security 2.0?
  • web.xml Changes
  • web.xml
  • A Minimal <http> Configuration
  • <http> Tag
  • <authentication-provider> Tag
  • Adding a Password Encoder
  • Example: Securing Web Resources
  • Method Security
  • €The <global-method-security> Tag
  • @Secured Annotation
  • €Example: Method Security
  • Adding Security Pointcuts using protect-pointcut
  • The intercept-methods Bean Decorator
Appendix:
  • Spring MVC Greeting
  • Hibernate Example

Prerequisites & Certificates
Pre-Requisites

Before attending this course, should have: * Java programming experience or have taken course JV002 Java Programming Language * Servlets programming and JSP or have taken course JV008 Java for Web Development * Basic knowledge of XML

Certificates offered

Certificate of completion


Cancellation Policy
10 business day cancellation policy. if the course is confirmed and the student cancels within 10 days of the course, then they get charged and apply a credit for future courses. If they cancel outside of 10 business days, then there are no charges at all.
Map & Reviews
CTE Solutions
[ View Provider's Profile ]

Reviews
 

This course has not yet been rated by one of our members.

If you have taken a course through this vendor please log into your account and leave feedback for this vendor. You will be helping ensure our members get directed to the best training facilities.

Here are some reviews of the training vendor.
I realize that we are constantly dealing with technology, but I still think for a registration fee of almost $3,000, that a hardcover book should be included. I know that the option to print the book on a one-time basis exists.
Reviewed by 2016
no
Reviewed by 2016
The instructor was very knowledgeable and answered all questions. Jarod did an excellent job presenting.
Reviewed by 2015
The room was cold. I had to sit next to the space heater. It would be good to tell future patrons to dress warmly AHEAD of time. No suprises.
Reviewed by 2015
He was great and offered his contact info for further questions.
Reviewed by 2015
Howard was a fantastic instructor and the course was exactly what I required.
Reviewed by 2014
The trainer was excellent - the course exceeded my expectations.
Reviewed by 2014
This course provides an excellent overview and a bit of practice on the various functions of SharePoint 2013. I was disappointed at the number of exceedingly long breaks given after each module. I would have preferred less break time and more content to the course. Having never taken a SharePoint course with another provider, I don't know if this is the norm with all providers of just this one in particular.
Reviewed by 2014
I ranked the "Use of Technology" low because for Users who were remote the VM's that were setup were a little wonky. Could be very slow at times and then sometimes they needed to be refreshed to work properly with the lab. In some instances we couldn't follow along as replication would not occur fast enough and we would have our lab cut short (for us remote Users).
Reviewed by 2014
The instructor was good at remembering to acknowledge the online students even though he was facing a classroom of students also.
Reviewed by 2014
Insructor was not so good with the live examples. Also the handouts was not so useful
Reviewed by 2013
The trainer was excellent, very knowledgeable and had a lot of valuable experience to share. The problem was that there were way too many workshops that took too long and interfered with getting the maximum benefit from the instructor and the course.
Reviewed by 2013
This was quite informative. It was a great opportunity to have ‘real life’ discussions with certified PMs. The instructor had excellent examples and was able to share his PM experiences with us with concrete examples. In addition, this was a great opportunity to network with private sector/public sector PMs and develop a better appreciation of PM on both sides of the fence. Cheers, CL
Reviewed by 2013
no
Reviewed by 2013
I did not like the video format
Reviewed by 2013
As a remote attendee, it appeared the instructor paid attention to the "Attendee" and "Chat" windows only a few times throughout the day, so I was not confident that he would see if I sent a message or raised my hand during the course.
Reviewed by 2013
The chairs were not very comfortable and the material contained spelling and grammatical error (a few but still)as well as repetition of words.
Reviewed by 2013
Was a bit slow the last 1/2 day. Of course, for some, this was the last of a 4 day course (not just 2 days).
Reviewed by 2013
I really enjoyed the course and I learned a lot. The pace was excellent.
Reviewed by 2013
good!
Reviewed by 2013
The room was excellent on its own - less distraction and no noise around you. There was no direction to the room when I walked in and therefore was not sure if I was heading in the right direction. We were not provided with the direction that there was coffee and fridge on the 3rd floor, and the bathroom floor was dirty.
Reviewed by 2012
This course was great, very informative, had Lionel as instructor and he was also very good.
Reviewed by 2012
Instructor was eager to assist but lacked subject matter expertise. Course time management was very poor. Content provided could have been delivered effectively in a one day course.
Reviewed by 2012
Good Course, good trainer. All questions addressed equally and in a timely professional manner.
Reviewed by 2011
The course content was interesting; however, the instructor didn't have enough knowledge about Microsoft Sharepoint 2010 Development and wasn't able to answer questions without google search. In the future CTE needs to make sure the instructors have real on-hands experience and are highly trained in the technologies they are supposed be teaching.
Reviewed by 2011
need-to-train-a-group-banner

This course currently does not have any dates scheduled. Please call 1-877-313-8881 to enquire about future dates or scheduling a private, in house course for your team.

This page has been viewed 2272 times.