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
|