| Java Training   Overview 
Spring is a lightweight Java framework for building enterprise applications.  Its Core module allows you to manage the lifecycle of your objects, and the dependencies between them, via configuration metadata (usually XML) and Dependency Injection / Inversion of Control.  Its advanced capabilities provide support for JDBC and persistence frameworks like Hibernate (DAO and ORM modules), Aspect-Oriented Programming (AOP module), integration with Java Web technologies (MVC module), security, transactions, and more.
Java Training   Skills Gained
 This course is a completely new course based on the Spring 2.0 and 2.5 releases.  It starts with the basics of Spring and in-depth coverage on using the powerful capabilities of the Core module to reduce coupling, increase flexibility and ease the maintenance and testing of your applications.
 
 The course goes on to cover all the important capabilities of Spring 2.0 / 2.5, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate, and using Spring's Aspect Oriented Programming (AOP) to program cross-cutting concerns such as transactions and security.
 
 The course includes a brief introduction to Spring's Web MVC - - a Web framework based on the powerful Model-View-Controller pattern.  This module covers the basics of Spring MVC, and how it supports organizing your Web applications in a highly structured, loosely coupled manner.
 
 The course also includes a brief introduction to Spring Security which was integrated into the Spring project when Spring 2.5 was released. This module includes an overview of the Spring Security architecture, and how to use it to secure both Web application requests and bean invocations
 
 This course is hands on with labs to reinforce all the important concepts.  It will enable you to build working Spring applications, and give you an understanding of the important concepts and technology in a very short time.
 
 The standard platform does all labs with the Eclipse IDE, and the lab instructions include detailed directions for setting up and using it. The course is available for all major development environments, including IBM RAD and IntelliJ.
 
    Hands-OnUnderstand the core principles of Spring,  and of Dependency Injection (DI)/Inversion of ControlUse the Spring Core module and DI to  configure and wire application objects (beans) togetherUnderstand and use the complete  capabilities of the Core module, such as lifecycle events, bean scopes, and the  Spring APIWork with the DAO and/or ORM modules to  create a well structured persistence layer  with JDBC or HibernateUnderstand and use Spring 2.0's powerful  new AOP capabilities for programming cross-cutting concerns across multiple  points in an application Understand and use Spring's transaction  support, including Spring 2.0's easy to use tx/aop XML configuration elements,  and Java 5 annotationsUnderstand how Spring MVC works, and how to  build well-structured Web applications with itUnderstand the basics of Spring Security, and how to secure Web apps and Spring managed beans with it 
50% hands-on, 50% lecture 
 Supported Platforms
 
Spring 2.5, Eclipse, IBM RAD, IntelliJ
 Java Training   Course Duration
 
 3 Days
 
 Java Training   Course outline
 
 
 Session 1:   Introduction 
        Overview of Spring Technology
          
            Shortcomings of Java EE, Spring ArchitectureSpring Introduction
          
            Managing Beans, Configuration Metadata, The Spring Container, IoC,  DIDependencies and Dependency Injection (DI)
          
            Dependency Inversion, Dependency Injection (DI) in Spring, DI  Configuration, Advantages Session 2:  More  about Bean Properties 
        Working with Properties
          
            Configuring Value Properties, Property Conversions, Setter /  Constructor InjectionCollection Valued Properties
          
            Configuring  and Using <list>,  <set>, <map>, <props>Additional Capabilities
          
            Factory Methods, Bean Aliases, Definition Inheritance (Parent  Beans), Autowiring Session 3:  The  Spring Container and API 
        ApplicationContext
          
            ClassPathXmlApplicationContext, FileSystemXmlApplicationContext,  Constructors, UsageResource Access
          
            Overview, Resource ImplementationsBean Scope and Lifecycle
          
            Bean Scope Defined, Configuring, Inner Beans, Bean Creation  Lifecycle, Using the Lifecycle Interfaces (e.g. BeanFactoryAware),  BeanPostProcessor, Even HandlingMessageSources
          
            Defining and Using Resource Bundles, Localization/I18NAnnotation Driven Configuration
          
            @Required, RequiredAnnotationBeanPostProcessorDependency Injection with @Resource@Component, Auto-Detecting Beans, Other Stereotypes Session 4:  Database  Access with Spring 
        Issues with JDBC
          
            Examination of Typical JDBC FlowIntroduction to Spring DAO Support
          
            Spring Database API, (Simple)JdbcTemplate,  (Simple)JdbcDaoSupport, DataSources, Working With and Configuring, <list>, <set>, With Bean  Refs, <map>, <props>Queries and Inserts
          
            RowMapper, ParameterizedRowMapper, Passing Arguments,  queryForObject, query, updateAdditional API Capabilities
		  
		    Additional query methods, Passing Type Arguments, queryForList,  FetchSize, MaxRowsUsing Spring with Hibernate
          
            HibernateTemplate, LocalSessionFactoryBean, Hibernate Configuration,  HibernateDaoSupport, Configuring a Hibernate DAOHibenateTemplate Query Methods, Using HibernateCallback, Using  Contextual Sessions Session 5:  Aspect  Oriented Programming (AOP) 
        Overview of AOP
          
            AOP Basics, Aspect, Joinpoint, Advice, PointcutIntroduction to Spring AOP
          
            Capabilities, New 2.0 Configuration (XML and @AspectJ), Weaving,  JoinpointsUsing Aspects
          
            XML Configuration with <aop:>Defining Advice, Configuring Pointcuts, Targets and ProxiesAspectJ Pointcuts, AutoproxiesUsing @AspectJ Annotations
          
            @AspectJ Annotations, Declaring Advice Session 6:  Spring  Transaction (TX) Management 
        Intro to Spring Transaction Management
          
            Overview, Component   TX Model, TX Propagation,  Declarative Transactions, TransactionManagers Using Spring TransactionsAnnotation Configured Transactions
          
            @Transactional and its settings XML Configured Transactions
          
            new <tx:*> elements, Configuring tx:advice, and tx:attributesDefining the TX advisor Session 7:  Overview  of Spring Web MVC 
        Overview - Capabilities, ArchitectureIntroduction to Spring MVC
          
            DispatcherServlet, Handlers, HandlerMappingsCommand Controllers, Commands, View ResolversForms
          
            Spring Form Tags, Writing/Processing Forms Session 8:  Overview  of Spring Security 
        Overview - Capabilities, ArchitectureIntroduction to  Spring Security
          
            HTTP SecurityMethod SecurityAuthentication Providers 
 |