| 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 (either XML or annotations) 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 and Web Flow), security, transactions, and more.
Java Training   Skills Gained
 This course is a new course based on the Spring 3 release.  It includes complete coverage of the annotation based approach to configuration and the use of Java-5 capabilities that was first introduced in Spring 2.x, and which has been greatly enhanced in Spring 3. It also provides coverage of the traditional XML-based configuration that can still play an important role in existing and new projects.
 
 The course starts with the basics of Spring and in-depth coverage on using the powerful capabilities of the Core module to reduce coupling, and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover all the important capabilities of Spring 3, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate and JPA. It includes coverage of advanced capabilities such as using Spring's Aspect Oriented Programming (AOP) to program cross-cutting concerns such as transactions and security. This includes an introduction to Spring Security v3, its architecture, and how to use it to secure both Web application requests and bean invocations
 
 The course includes integration of Spring with Java EE Web applications, an introduction to Spring's Web MVC, and thorough coverage of Spring Web Flow 2 (which is still the latest version available). Spring MVC is a Web framework based on the powerful Model-View-Controller pattern, and the intoduction covers the basics of Spring MVC, and how it supports organizing your Web applications in a highly structured, loosely coupled manner. Spring Web Flow 2 is a Spring framework for defining user interface flow in a Web applicaiton. The course includes thorough coverage of Web Flow, including an overview of its capabilities and architecture, defning flows, flow variables and actions, the Unified EL, and flow programming. Note that Spring Web Flow 3, which will use annotation-based configuration, is still in a very early development stage.
 
 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 JDBCUse Springs Data Integration with JDBC and technologies such as Hibernate or JPA.
    Understand and use Spring's powerful new AOP capabilities for programming cross-cutting concerns across multiple  points in an application Understand and use Spring's transaction support, including its easy to use tx/aop XML configuration elements and Java 5 annotationsIntegrate Spring with Java EE Web applicationsUnderstand how Spring MVC works using the new @Controller model, and use it to build basic Web applicationsUnderstand the basics of Spring Security, and how to secure Web apps and Spring managed beans with itUnderstand and use Spring Web Flow 2 to define complex user interface flow in Web applications. 
50% hands-on, 50% lecture 
 Supported Platforms
 
Spring 3, SWF 2, Tomcat/Eclipse, IBM RAD/WAS, IntelliJ, Weblogic AS, GlassFish AS
 Java Training   Course Duration
 
 5 Days
 
 Java Training   Course outline
 
 
 Session 1:   Introduction 
        Overview of Spring Technology
          
            Shortcomings of Java EE, Spring ArchitectureSpring Introduction
          
            Managing Beans, The Spring Container, IoC,  DIConfiguration Metadata - XML, @Component, Auto-Detecting BeansDependencies and Dependency Injection (DI)
          
            Dependency Inversion, Dependency Injection (DI) in Spring, DI  Configuration - XML, @Resource Session 2:  More  about Bean Properties 
        Working with Properties
          
            Configuring Value Properties, Property Conversions, Setter /  Constructor InjectionSpring Expression Language for ConfigurationCollection Valued Properties
          
            Configuring and using lists, sets, etc.Additional Capabilities
          
            Factory Methods, Bean Aliases, Definition Inheritance (Parent  Beans) Session 3:  The  Spring Container and API 
        ApplicationContext
          
            ClassPathXmlApplicationContext, FileSystemXmlApplicationContext,  Constructors, UsageResource Access - Overview, Resource Implementations
        Validation
          
            Overview, JSR-303 Declarative Validation, @NotNull, @Size, @Min, etcConfiguration, InjectionBean Scope and Lifecycle
          
            Bean Scope Defined, Configuring, Inner Beans, Bean Creation  Lifecycle, Lifecycle Callbacks,  BeanPostProcessor, Event HandlingMessageSources
          
            Defining and Using Resource Bundles, Localization/I18NAnnotation Driven Configuration
          
            Stereotypes: @Component, @Service, @Controller, @RepositoryJava EE 5 Annotation SupportDefining Custom AnnotationsAutowiring
              
                @Autowired on setters, constructures, methods, fieldsInjecting resources like ApplicationContextFine tuning with @QualifierJava Based Bean Metadata (JavaConfig)
          
            Overview - code-centric Configuration@Confguration, @Bean, and @ValueImporting and @ImportAutowiring in Configuration ClassesMixing XML Configuraiton and @ConfigurationXML vs Annotation Based ConfigurationOther Capabilities
          
            SpEL - Spring Expression LanguageValidation Session 4:  Database Access with Spring 
        Issues with JDBC / 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
          
            Overview of Template Approach, SessionFactory configurationUsing Contextual SessionsUsing Spring with JPA
          
            LocalEntityManagerFactoryBean, LocalContainerEntityManagerFactoryBean, JNDI, PersistenceUnitManagerDAO Support - @PersistenceUnit, @PersistenceContext Session 5:  Aspect  Oriented Programming (AOP) 
        Overview of AOP
          
            AOP Basics, Aspect, Joinpoint, Advice, PointcutIntroduction to Spring AOP
          
            Capabilities, Configuration (Annotation Based and XML), Weaving,  JoinpointsUsing Aspects
          
            Defining Advice, Configuring Pointcuts, Targets and ProxiesXML Configuration with <aop:>AspectJ 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:  Introduction to Spring Web Integration and Spring MVC 
        Integrating Spring with Java EE Web Apps, ContextLoaderListener, WebApplicationContextSpring Web MVC Overview, Capabilities, ArchitectureSpring MVC Basics
          
            DispatcherServlet, Configuration, mvc NamespaceControllers, @Controller, Handler Methods@RequestParam and Parameter BindingView ResolversWriting Controllers, @Controller, @RequestMapping, @RequestParam, @PathVariableForms and Binding, Spring Form Tags, @ModelAttributeSession Attributes, @SessionAttributes Session 8:  Overview of Spring Security 
        Overview - Capabilities, ArchitectureIntroduction to  Spring Security
          
            HTTP SecurityMethod SecurityAnnotation-Based SecurityExpression-Based Access ControlAuthentication Providers Session 9:  Introduction to Spring Web Flow 2 
        Overview - Need for Flow, Capabilities, ArchitectureDefining Flows
          
            XML Flow Definition LanguageFlows, States, and TransitionsAccesing Flows in Web PagesExiting Flows - flowRedirect and externalRedirectConfiguring Web Flow - Flow Executor, Flow Registry, Integration with Spring MVCWorking with Data - Flow Instance Variables, Flow InputsView Pages and Model BindingFlow Actions - evaluate, set, and render Session 10:  More on Spring Web Flow 2 
        Using the Spring Expression Language (SpEL) with Web Flow
          
            Syntax and ExpressionsImplicit ObjectsFlow ControlUsing Data Scopes - Request, Flash, View, Flow, Conversation, and Session ScopePOST-REDIRECT-GET IdiomFlow Language Elements
          
            More on States, Actions, and Other ElementsRouting with action-state and decision-state Session 11:  Programming with Spring Web Flow 2 
        Creating Custom Actions
          
            POJO Based Actions vs the Action interfaceRequestContext and ExternalContextValidation and Error Reporting
          
            Defining Validation in the Model and in a Validator ClassValidationContext, MessageContext, and Resource BundlesConvertersSubflows
          
            Defining and UsingInput/Output VariablesConversation Scope VariablesSubflow End States 
 |