Intergrating Spring 2.5 with Ibatis From Modulus Training

Sponsored links

The Spring framework is an application framework that provides a lightweight container that supports the creation of simple to complex components in a non invasive fashion. Spring's flexibility and transparency is congruent and supportive of incremental development and testing. The framework's structure supports the layering of functionality such as persistence, transactions, view oriented frameworks, and enterprise systems and capabilities. Spring's Aspect Oriented Programming (AOP) framework enables developers to declaratively apply common features and capabilities across data types in a transparent fashion. Spring makes J2EE development easier. Spring simplifies commons tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many J2EE design patterns. Spring puts the OO design back into your J2EE application, and it integrates nicely with JSF.

Delivery:
  • Classroom
Regions:
  • London
Category:

Further Details

Topics
Session: Introduction to the Spring 2.5
Framework

• Understanding the value of Spring
• Inversion of Control
• Dependency Injection
• Spring Overview
• Spring Application Architectures
• Spring Container
• Managing the Container
• Access to Services and Resources
• Application Contexts
• Beans as Components
• Beans and Factories
• XML Bean Configuration
• Bean Definition and Dependencies
• Bean Lifecycle
• Customization Options
• Post Processors
• Property Editors

Session: Aspect Oriented Programming

• AOP Benefits and Concepts
• Aspect Defined
• Decoupling Through Aspects
• Code Generation Styles
• Cross Cutting Concerns
• Spring's AOP Framework
• Advice and Weaving
• Proxies: Cost/Benefit
• Types of Advice
• Interceptor Chain
• Joinpoints and PointCuts
• Advisors
• Working with Proxies
• Annotations and AOP
• Aspects, Advice, and Pointcuts Using Annotation
• Introductions
• Introductions and Annotations

Session: Data Access

• Data Access Pattern
• Overview of Persistence Layer and Transactions
• Transaction Overview
• Spring Transactions
• Defining Spring Transactions
• Working with Demarcation
• Managing Spring Transactions
• Spring JDBC
• Spring JDBC Architecture
• Working with Demarcation
• Managing Spring Transactions
• Spring JDBC
• Spring JDBC Architecture
• Working with JDBC Template
• Database Operations
• Handling JDBC Exceptions

Session: Spring Views

• Spring/Web Framework Architecture
• Spring MVC
• Spring MVC Architecture
• Spring MVC Components
• Spring MVC Flow
• Dispatcher and Controllers
• Handlers and Mapping
• Interceptors
• Spring and Struts (optional)
• Spring/Struts Architecture
• Integrating Struts into Spring
• Spring and JSF (optional)
• Spring/JSF Architecture
• Integrating JSF into Spring

Session: Spring Security Framework

• Understand basic security concepts
• Secure Web Pages
• Use Multiple Roles – Secure pages based on roles
• Allow login and logout
• Create custom login pages
• Use JSP Tags to conditionally allow content based on roles
• Securing Services based on roles
• Securing Services based on identity

Session: Spring and iBATIS

• iBATIS Overview
• ORM Mapping Issues
• iBATIS Architecture
• Benefits and Goals of iBATIS
• Ibatis SQLMapper
• Mapping Classes to Databases
• Configuring iBATIS
• Mapping Configuration
• Working with SQLMapper framework
• Handling Transactions with iBATIS


Objectives
This course provides a solid understanding of what Spring brings to the table and how to use Spring in the context of other technologies and frameworks.

Students are taken on an in depth tour of the basic Spring framework, initially examining concepts such as Inversion of Control and Dependency Injection, and then working with the container and basic components.

The course then moves into the areas of persistence and transactions, looking at various options including both JDBC and iBATIS. After spending time examining now to extend the framework using AOP, students will then look at options for handling the view portion of a MVC web architecture.
Working in a dynamic, lab intensive hands on coding environment students will learn to:
• Explain the issues associated with complex frameworks such as J2EE and how Spring addresses those issues
• Understand the relationships between Spring and J2EE, AOP, IOC, JDBC, iBATIS, JSF, Struts, JMS, and EJBs.
• Discuss the challenges to adopting Spring
• Write applications that take advantage of the Spring container and the declarative nature of assembling simple components
into applications.
• Understand and work with various options for integrating persistence into a Spring application.
• Work with Spring's support for transactions
• Understand and work with various options for integrating view oriented frameworks for web applications into Spring.
Frameworks that are examined include Spring MVC, JSF, and Struts.

The course provides a solid foundation in basic terminology and concepts, extended and built upon throughout the engagement.
Processes and best practices are discussed and illustrated through both discussions and group activities. Attending students will be led through a series of advanced topics comprised of integrated lectures, extensive hands on lab exercises, group discussions and comprehensive demonstrations.

Finally, students will examine iBATIS and how to integrate iBATIS into the Spring framework.

Prerequisites
This an intermediate level Spring 2.5 training course, designed for developers who need to understand how and when to use Spring in Java and J2EE applications. Attendees should have practical basic Java development experience.

This Training Course is taught in classrooms in the following locations:
London E

Guide Price: £745 + VAT