Flashcards in Spring Deck (21):
What is Spring
A framework for enterprise Java applications
What are Springs benefits
IoC, DI, MVC, Boilerplate Reduction
What are some spring sub projects
Core - Inversion of Control, DepInjectoin
Web - Provides Application Context
JDBC-Provides DB classes like JDBC Template
MVC - Model View Controller
ORM - JPA, JDO, Hibernate
DI - Describe how to create objects
How to inject beans
Setter, Constructor, Field
An interface representing the container of all bean instances
A container that holds all metadata, data, and beans of the application
A POJO Initialized by Spring
Default Bean Scope
Are Beans Thread Safe
Not if Singleton
What is Java Config used for?
Configuring the Spring application instead of using xml
Can you have more than one config file for spring?
What is Spring Security
A module that provides authentication methods
A preconfigured project to cut boilerplate. Like create-react-app.
Spring Prototype Pattern
Used to generate multiple instances of a bean.
Used to tie an http request to a method.
What is the config file for your db. It describes the datasource.
What is Aspect Oriented Programming?
Aspect Oriented Programming when a regex (PointCut) matches the variable (JoinPoint) being evaluated, then a method (Advice) is executed.
What is Weaving
The process spring uses to tie aspects to objects.
What coding paradigm uses events to horizontally scale?
Reactive Programming - Analogous to microservices, the concept of using events to scale your classes.
How does spring 5 work with java 9?
Spring 5 and java 9: Everything is modularized. A module is a level above packages. Analogous to container classes in react and angular modules.