Minimum version of java to use spring 4 is java se 6

Info icon This preview shows pages 65–93. Sign up to view the full content.

Minimum version of Java to use Spring 4 is Java SE 6. Introduced @RestController annotation Spring 4.1 supports JCache (JSR-107) annotations
Image of page 65

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Spring 5.0 Functional web framework Support for Jigsaw (Java Modularity) Support for reactive programming Support for Kotlin
Image of page 66
Questions What are important Spring Modules?
Image of page 67

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Spring Modules
Image of page 68
Image of page 69

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Questions What are important Spring Projects?
Image of page 70
Spring Projects Spring Boot Spring Cloud Spring Data Spring Integration Spring Batch Spring Security Spring HATEOAS Spring Web Services Spring Session
Image of page 71

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Questions What is the simplest way of ensuring that we are using single version of all Spring related dependencies?
Image of page 72
Use a BOM <dependencyManagement> <dependencies> <dependency> <groupId> org.springframework </groupId> <artifactId> spring-framework-bom </artifactId> <version> 5.0.0.RELEASE </version> <type> pom </type> <scope> import </scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId> org.springframework </groupId> <artifactId> spring-context </artifactId> </dependency> <dependency> <groupId> org.springframework </groupId> <artifactId> spring-web </artifactId> </dependency> <dependencies>
Image of page 73

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Questions Name some of the design patterns used in Spring Framework?
Image of page 74
Design Patterns in Spring Front Controller - Dispatcher Servlet Prototype - Beans Dependency Injection Factory Pattern - Bean Factory & Application Context Template Method org.springframework.web.servlet.mvc.AbstractCont
Image of page 75

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Questions What are some of the important Spring annotations you have used?
Image of page 76
Annotations @Component, @Service, @Repository, @Controller @Autowired @Primary @Qualifier @Configuration
Image of page 77

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Questions What do you think about Spring Framework? Why is Spring Popular? Can you give a big picture of the Spring Framework?
Image of page 78
Architecture - Flexible & No Restrictions Design - Loosely Coupled Code - Easy Unit Testing Features - Dependency Injection, IOC Container(Bean Factory & Application Context), Auto wiring, Component Scan Spring Modules Spring Projects
Image of page 79

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

MVC
Image of page 80
Questions What is Model 1 architecture?
Image of page 81

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 82
Questions What is Model 2 architecture?
Image of page 83

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 84
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '18
  • LN Rao
  • public class, Spring Framework, Spring Boot, Spring Security

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern