Limit search to available items
Book Cover
E-book
Author Mehta, Chintan

Title Hands-On High Performance with Spring 5 : Techniques for Scaling and Optimizing Spring and Spring Boot Applications
Published Birmingham : Packt Publishing Ltd, 2018

Copies

Description 1 online resource (399 pages)
Contents Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Exploring Spring Concepts; Introducing the Spring Framework; Problems with EJB; Simplifying implementation using POJO; Benefits of the Spring Framework; No need to reinvent the wheel; Ease of unit testing; Reduction in implementing code; Inversion of control and API; Consistency in transaction management; Modular architecture; Up to date with time; Understanding Spring modules; Core Container; Crosscutting concerns; Data Access/Integration; Web; Spring projects; Spring Boot
Spring DataSpring Batch; Spring Cloud; Spring Security; Spring HATEOAS; Spring's IoC container; What are Spring beans?; Instantiating a Spring container; BeanFactory; ApplicationContext; Spring bean life cycle; New features in the Spring Framework 5.0; Baseline upgrades; Reactive programming support; Core features upgrades; Spring Web MVC upgrades; Spring's new functional web framework -- WebFlux; Modularity support; Kotlin language support; Improved testing support; Dropped or deprecated features; Summary; Chapter 2: Spring Best Practices and Bean Wiring Configurations
Dependency injection configurationsTypes of DI patterns; Constructor-based DI; Advantages of the constructor-based DI; Disadvantages of the constructor-based DI; Setter-based DI; Advantages of the setter-based DI; Disadvantages of the setter-based DI; Field-based DI; Constructor versus setter injection; Configuring the DI with Spring; XML-based configuration; Java-based configuration; Annotation-based configuration; The @Autowired annotation; @Autowired with required = false; The @Primary annotation; The @Qualifier annotation; Automatic bean detection with stereotype annotations
The @ComponentScan annotationThe @Lazy annotation; Spring bean scopes; Performance assessment with different configurations; Lazy loading versus preloading; Singleton versus prototype bean; Spring bean configuration best practices; DI pitfalls; First pitfall; Second pitfall (with AOP); Summary; Chapter 3: Tuning Aspect-Oriented Programming; AOP concepts; Limitations of OOP; Code tangling; Code scattering; AOP -- problem solver; Spring AOP terminology and concepts; Defining pointcuts; Types of advice; Aspect instantiation models; AOP proxies; JDK dynamic proxies and CGLIB proxies
ProxyFactoryBeanProxyFactoryBean in action; Performance JDK dynamic proxy versus CGLIB proxy; Caching; AOP method profiling; PerformanceMonitorInterceptor ; Custom monitoring interceptor; Spring AOP versus AspectJ; What is AspectJ?; Differences between Spring AOP and AspectJ; Capabilities and goals; Weaving; Join points; Simplicity; Performance; AspectJ with Spring; AOP best programming practices; Pointcut expressions; Advice ordering; Best practices of AOP proxies; Caching; Summary; Chapter 4: Spring MVC Optimization; Spring MVC configuration; Spring MVC architecture; XML-based configuration
Summary Spring 5.0 brings major advancements in the rich APIs provided by the Spring framework and thus creates a need for developers to master its tools and techniques to achieve high-performing applications. This book will help you improve the speed of your code and optimize the performance of your apps
Notes Configuring front controller
Print version record
Subject High performance computing.
High performance computing
Form Electronic book
Author Shah, Subhash
Shah, Pritesh
Goswami, Prashant
Radadiya, Dinesh
ISBN 9781788830638
1788830636
9781788838382
1788838386