5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

KnowledgeCenters     Java KnowledgeCenter     Java Courses
The Spring Framework is an open source framework and an inversion of controller container for the Java platform. The Spring Framework is one of the most popular application development frameworks for creating enterprise Java applications. This course covers the basics of creating and configuring Spring applications using both Java-based and annotation configurations. In this course, you will learn about alternate ways of creating and configuring Spring applications, namely, annotation-based configuration and Java-based configuration. You will also learn about declaring Spring beans using a component scanner and about Spring Expression Language.

Objectives

Spring and Annotation Configuration

  • start the course
  • recognize the basics of configuring Spring applications using annotations
  • use the @Autowired annotation to set bean properties
  • use the @Autowired annotation to set up constructor injection
  • use the @Value annotation to set bean properties
  • make bean autowiring optional based on if a bean is available
  • use the @Qualifier annotation to help reduce any potential ambiguities
  • use the @Required annotation to make sure a bean property is being set via setter injection
  • use the @PostConstruct and @PreDestroy annotations to define methods that run after a bean is instantiated and before a bean is destroyed

Spring Alternative Annotations

  • recognize the origin of alternative annotations that can be used to configure Spring applications
  • use the @Resource annotation to support dependency injection in a Spring application
  • use the @Inject annotation to support dependency injection in a Spring application

Spring Component Scanning

  • recognize the basics of implicitly declaring Spring beans by using the component scanner
  • use the @Named annotation to support configuring dependency injection
  • recognize and identify the various stereotype annotations that can be used to declare Spring beans
  • use custom annotations to declare classes that should be registered as Spring beans

Spring and Java-Based Configuration

  • recognize the basics of configuring a Spring application using Java class files
  • create a Spring application that is configured using a Java class file
  • perform setter injection from a Spring application with a Java-based configuration
  • perform constructor injection from a Spring application with a Java-based configuration
  • set up autowiring for a Spring application configured with a Java-based configuration
  • set up component scanning for a Spring application with a Java-based configuration

Understanding Spring Expression Language

  • recognize Spring Expression Language and some of its features
  • use Spring Expression Language to help configure XML-based Spring applications
  • use Spring Expression Language to help configure annotation-based Spring applications
  • use Spring Expression Language to evaluate and set property values
  • use the safe navigation operator to avoid the NullPointerException when using Spring Expression Language
  • use Spring Expression Language to expose data from the Java system properties object

Practice: Configuring for Java Spring

  • understand how to configure Spring applications using both annotation-based configuration, and Java-based configuration, and also to demonstrate using Spring Expression Language