Core Spring

Core Spring Course Description

Duration: 4.00 days (32 hours)

Core Spring is the four-day flagship Spring Framework training. In this training, students build a Spring-powered Java application that demonstrates the Spring Framework and other Spring technologies like Spring AOP and Spring Security in an intensely productive, hands-on setting.

Next Class Dates

Contact us to customize this class with your own dates, times and location. You can also call 1-888-563-8266 or chat live with a Learning Consultant.

Back to Top

Intended Audience for this Core Spring Course

  • » Developers
  • » Architects

Back to Top

Core Spring Course Objectives

  • » Use the Spring Framework to develop Java applications
  • » Use dependency injection to set up and configure applications
  • » Test Spring-based applications
  • » Set up Spring configuration using XML, annotations, and Java configuration
  • » Use JPA/Hibernate and JDBC with Spring to access relational databases
  • » Use Spring support for transactions
  • » Use aspect-oriented programming (AOP) to add behavior to objects
  • » Develop a basic Web application with Spring MVC
  • » Use Spring Security to secure Web applications
  • » Use Spring with RMI, HttpInvoker, and JMS for remote communication
  • » Add management with the JMX API

Back to Top

Core Spring Course Outline

      1. Introduction to Spring
        1. XML configuration and the Spring application context
        2. Best practices: constructor versus setter injection
        3. Working with multiple configuration files
        4. Bean scope and factory beans
      2. Advanced XML Dependency Injection
        1. Most popular namespaces
        2. Best practices when working with namespaces
        3. Externalizing constant values into properties files
        4. Working with a high number of configuration files
        5. Bean definition inheritance
      3. Annotation-Based Dependency Injection
        1. Autowiring and component scanning
        2. Component scanning: how to do it right
        3. XML versus annotations: when to use what
        4. Life cycle annotations: @PostConstruct and @PreDestroy
        5. Stereotypes and meta-annotations
      4. Java-Based Dependency Injection
        1. @Configuration and @Bean annotations
        2. Where is the magic? Inheritance-based proxies
        3. Equivalent to XML namespaces: @Enable annotations
        4. When to use Java configuration
      5. Bean Life Cycle: How Does Spring Work Internally?
        1. The init phase: available interceptors
        2. The init phase: what is the difference between XML, annotations, and Java configuration?
        3. What happens during bean post processing
        4. Use and destruction phases
      6. Testing a Spring-Based Application
        1. Spring and test-driven development
        2. @ContextConfiguration and @RunWith annotations
        3. Application context caching and the @DirtiesContext annotation
        4. Environment abstraction and bean definition profilesr
      7. Aspect-Oriented Programming
        1. What problems does AOP solve?
        2. Differences between Spring AOP and AspectJ
        3. Defining pointcut expressions
        4. Implementing an advice: @Around, @Before, @After, and so on
      8. Data Access and JDBC with Spring
        1. How Spring integrates with existing data access technologies
        2. DataAccessException hierarchy
        3. Implementing caching using @Cacheable
        4. jdbc namespace and the Spring JdbcTemplate
      9. Database Transactions with Spring
        1. @Transactional annotation
        2. Transactions configuration: XML versus annotations
        3. Isolation levels, transaction propagation, and rollback rules
        4. Transactions and integration testing
        5. Should you use read-only transactions?
      10. Integrating Spring with JPA and Hibernate
        1. Quick introduction to ORM with JPA
        2. Benefits of using Spring with JPA
        3. JPA configuration in Spring
        4. PersistenceException versus the Spring DataAccessException
      11. Spring in a Web Application
        1. Configuring Spring in a Web application (using Spring MVC, Struts, JSF, and so on)
        2. namespace
        3. Introduction to Spring MVC
        4. Using @Controller and @RequestMapping annotations
      12. Spring Security
        1. What problems does Spring Security solve?
        2. Configuring authentication and intercepting URLs
        3. Spring Security tag library for JSPs
        4. Security at the method level
        5. Customizing the Spring Security filter chain
      13. Advanced Topics
        1. Remoting: Using Spring remoting and the Spring HttpInvoker for remote access
        2. JMS: Sending and receiving messages using the JmsTemplate
        3. JMX: Configuring Spring to export automatically MBeans and exporting a Spring bean as an MBean

Back to Top

Do you have the right background for Core Spring?

Skills Assessment

We ensure your success by asking all students to take a FREE Skill Assessment test. These short, instructor-written tests are an objective measure of your current skills that help us determine whether or not you will be able to meet your goals by attending this course at your current skill level. If we determine that you need additional preparation or training in order to gain the most value from this course, we will recommend cost-effective solutions that you can use to get ready for the course.

Our required skill-assessments ensure that:

  1. All students in the class are at a comparable skill level, so the class can run smoothly without beginners slowing down the class for everyone else.
  2. NetCom students enjoy one of the industry's highest success rates, and pass rates when a certification exam is involved.
  3. We stay committed to providing you real value. Again, your success is paramount; we will register you only if you have the skills to succeed.
This assessment is for your benefit and best taken without any preparation or reference materials, so your skills can be objectively measured.

Take your FREE Skill Assessment test »

Back to Top

Award winning, world-class Instructors

Our instructors are passionate at teaching and are experts in their respective fields. Our average NetCom instructor has many, many years of real-world experience and impart their priceless, valuable knowledge to our students every single day. See our world-class instructors.   See more instructors...

Back to Top

Client Testimonials & Reviews about their Learning Experience

We are passionate in delivering the best learning experience for our students and they are happy to share their learning experience with us.
Read what students had to say about their experience at NetCom.   Read student testimonials...

Back to Top