Ett dyptpløyende, avansert kurs, som gir utviklere best practices for utvikling ved bruk av Spring. Kurset gir også tips og teknikker for å arbeide med verktøy og teknologier i et utviklingsmiljø.
Session: Review of the Spring Framework
Lesson: The Spring Framework and IoC
- Understand the value of Spring
- Explore IoC/DI
- Configuring collaborators
- Understand build-in property editors
Lesson: Advanced Spring Container Features
- Provide an overview of Spring’s factory beans
- Re-use bean definitions in the configuration file
- Use placeholders in the configuration file
- Create custom property editors
- Become familiar with container post-processors
Session: Spring Data Access Support
Lesson: Overview
- Understand the Spring DAO
- Understand Transaction Demarcation within Spring
Lesson: Spring JDBC
- Overview of Spring JDBC support
- Defining DataSources
- JDBC Exceptions and the SQLExceptionTranslater within Spring
- Creating JDBC DAOs
- Using the JdbcTemplate class
- Mapping rows to Objects using the JdbcTemplate
- Mapping data to Objects using SQL Helper Objects (Operation Classes)
Lesson: Introduction to Hibernate
- Define Object to Relational (O/R) Mapping (ORM)
- Define the Hibernate Architecture
- Illustrate the benefits of using Hibernate
- Understand the goals of Hibernate
- Understand key functionalities of Hibernate
- Define the different Hibernate types (Entities and values)
- Understand different Persistent representations (POJOs, Maps and XML)
Lesson: Spring Hibernate
- Overview of Spring Hibernate support
- Session and connection management
- Creating Hibernate DAOs
- Using the hibernateTemplate class
Session: Spring AOP Framework
Lesson: Spring AOP
- AOP basics
- AOP support within Spring
- Understanding proxy factories
Session: Web Frameworks
Lesson: Spring and Struts (Optional)
- Brief overview of Struts
- Understand the integration between Struts and Spring
- Understand bean resolution
Lesson: Spring and JSF (Optional)
- Brief overview of JSF
- Understand the integration between JSF and Spring
- Understand bean resolution
Lesson: Overview of SpringMVC (Optional)
- Understand the architecture of Spring MVC
- Understand how to configure a Spring MVC web application
- Understand URL mapping in Spring MVC
- Understand Interceptor classes
- Understand View and ViewResolver classes
- Understand Controller classes
- Understand how to process a form request
- Understand how to add validation support to form processing
- Introduce Themes, exception handling, I18N support, web application testing and wizards
Session: Spring and EJB
Lesson: Overview of EJB (Without Spring)
- Cover the standard way to use EJBs in a non-Spring environment
- Utilizing Stateless (SLSB) and Stateful (SFSB) Session Beans in Spring
- Stateless Session Bean lookup using JNDI
- How to access local and remote EJBs
Lesson: Overview of Spring and EJB
- The Spring approach to implementing EJBs
- Singleton vs. multiple instances of the Spring context
- EJBs and shared contexts
- Spring and Stateless Session Beans
- Spring and Message Driven Beans
Session: Distributed Systems, JMS
Lesson: Overview of JMS (without Spring)
- Goals of a distributed system
- Decoupling using messaging
- J2EE support for messaging (JMS)
Lesson: Distributed Systems, JMS and Spring
- Spring support for messaging
- Introduce Spring’s JmsTemplate class
Hands-on lab exercises
- Configuring Dependencies-Familiarization with the Spring configuration file
- Advanced Configuration-Re-use bean definitions and make use of property files
- Implementing the DAO Layer-Use the Spring DAO helper classes
- Implement the MemberDAO using Spring and Hibernate-Use Spring’s Hibernate classes
- Spring IoC/AOP-To become familiar with Spring containers and Spring AOP
- Using Struts and Spring-Create a front-end using Struts and Spring
- Use JSF and Spring-Create a front-end using JSF
- Web Application using Spring MVC-To learn how to build a web application using Spring MVC, including forms and validation
- Spring SLSB-Gain a better understanding of Spring support for SLSBs
- Spring JMS-Become familiar with the JMS support in Spring