Springs ( Core, MVC, ORM, Boot, Security, Batch, Integrations)

Excellent materials :

http://www.einnovator.org/docs/refcard/quickguide-einnovator-12-spring-security.pdf
http://www.einnovator.org/document/quickguide



Spring 2.0
2.1
2.2
2.3
2.4
2.5

New features in spring 2.5

1) Supports Spring annotations.
2) Supports XSD validation
3)  Test module was newly added to execute  JUNIT | JSON | MOCKITO test cases


New features in spring3.0

1)  Support JSR (SUN) annotation   -
2)  Supports Java Based Configuration  - Excellent feature. All new projects are Java based.
3)  Supports  RESTFul Web services.


3.1
3.2  - > Using  Java 1.7

4.0

New features in spring 4.0

1)  Spring BOOT  -  Using  Java 1.8  ( Check manifest file in  any of jar from spring lib folder)
2)  Spring DATA
3)  Leverages Java 8 features such as Lambda expressions, Functional programming, etc..
4)  @RestController,  @GetMapping, @PostMapping etc. 

4.1
4.2
4.3

5.0

New features in spring5.0

-->  It supports Reactive programming.  ( Usually it's using in Java 9) - using Async module.



  • Prototype is one more design pattern - 
    •   Scope = prototype means single object or multiple objects ?  
      •  The answer is multiple objects.
      • Create object from scratch only one time and in future clone existing object.

  • If scope ="singleton" - spring container uses singleton pattern, hence  developer no need to write singleton code.



Spring framework  will help to solve the complexity of enterprise application development.
Its Layered architecture.
Main modules of Springs are  Spring Core, Spring AOP and Spring MVC.
Main features of Spring framework -
         Lightweight ( size and transparency - just 1 MB etc)
  •          Inversion of Control(IOC which means programmer do not need to create the objects, instead just describe how it should be created.)
      • Setter based IOC
      • Constructor based IOC
      • Interface Dependency 
         Aspect Oriented(AOP).



Spring Core

  1. Spring Framework
  2. Spring Dependency Injection
  3. Spring IoC and Bean
  4. Spring Bean Life Cycle
  5. Spring REST
  6. Spring REST XML
  7. Spring RestTemplate
  8. Spring AOP
  9. Spring AOP Method Profiling
  10. Spring Annotations
  11. Spring @Autowired
  12. Spring @RequestMapping


Spring Security

 

In case of Sign In,  the userdetailsService is sufficient.

But in case of sign up, we need UserDetailsManager object

 

  1. Spring Security Overview
  2. Spring Security Example Tutorial
  3. Spring Security UserDetailsService
  4. Spring MVC Login Logout
  5. Spring Security Roles






1 comment:

Hyderabad Trip - Best Places to visit

 Best Places to Visit  in Hyderabad 1.        1. Golconda Fort Maps Link :   https://www.google.com/maps/dir/Aparna+Serene+Park,+Masj...