A High-Level View of Spring4:37 with Chris Ramacciotti
During this video, I'll give you an overview of what each part of the Spring Framework offers to us for developing web apps.
JavaBeans vs. Spring Beans
Spring beans typically adhere to the requirements of the JavaBean specification. Independent of Spring, a JavaBean is any object that meets the following requirements:
- has a public, default constructor,
- has fields that are accessed through public getters & setters, which follow the standard naming convention of getFieldName (or isFieldName for boolean fields) and setFieldName, and
In general, Spring beans follow this convention, except that Spring beans do not need to implement
In general, Spring beans are any object constructed and managed by the Spring Framework. Spring beans are the objects eligible for injection with the
@Autowired annotation, as you'll see later in the course.
You need to sign up for Treehouse in order to download course files.Sign up