Spring 5 recipes : a problem-solution approach / Marten Deinum, Daniel Rubio, Josh Long
- Author:
- Deinum, Marten
- Published:
- [United States] : Apress, 2017.
New York, NY : Distributed to the Book trade worldwide by Springer - Copyright Date:
- ©2017
- Edition:
- Fourth edition.
- Physical Description:
- 1 online resource
- Additional Creators:
- Rubio, Daniel and Long, Josh
Access Online
- Series:
- Contents:
- Contents at a Glance -- Contents -- About the Authors -- About the Technical Reviewer -- Acknowledgments -- Introduction -- Chapter 1: Spring Development Tools -- 1-1. Build a Spring Application with the Spring Tool Suite -- Problem -- Solution -- How It Works -- Importing and Building a Maven Project -- Importing and Building a Gradle Project -- 1-2. Build a Spring Application with the IntelliJ IDE -- Problem -- Solution -- How It Works -- Creating a Spring Application -- Importing and Building a Maven Project, Importing and Building a Gradle Project1-3. Build a Spring Application with the Maven Command-Line Interface -- Problem -- Solution -- How It Works -- 1-4. Build a Spring Application with the Gradle Wrapper -- Problem -- Solution -- How It Works -- 1-5. Build a Spring Application with the Gradle Command-Line Interface -- Problem -- Solution -- How It Works -- 1-6. Build a Spring Application with the Gradle Wrapper -- Problem -- Solution -- How It Works -- Summary -- Chapter 2: Spring Core Tasks -- 2-1. Use a Java Config to Configure POJOs, ProblemSolution -- How It Works -- Create a Java Config with @Configuration and @Bean to Create POJOs -- Instantiate the Spring IoC Container to Scan for Annotations -- Get POJO Instances or Beans from the IoC Container -- Create POJO Class with the @Component Annotation to Create Beans with DAO -- Instantiate the Spring IoC Container with Filters to Scan for Annotations -- Get POJO Instances or Beans from the IoC Container -- 2-2. Create POJOs by Invoking a Constructor -- Problem -- Solution -- How It Works -- Create the POJO Classes with Constructors, Create a Java Config for Your POJO2-3. Use POJO References and Autowiring to Interact with Other POJOs -- Problem -- Solution -- How It Works -- Reference POJOs in a Java Config Class -- Autowire POJO Fields with the @Autowired Annotation -- Autowire POJO Methods and Constructors with the @Autowired Annotation and Make Autowiring Optional -- Resolve Autowire Ambiguity with Annotations -- Resolve Autowire Ambiguity with the @Primary Annotation -- Resolve Autowire Ambiguity with the @Qualifier Annotation -- Resolve POJO References from Multiple Locations, and 2-4. Autowire POJOs with the @Resource and @Inject AnnotationsProblem -- Solution -- How It Works -- Autowire POJOs with the @Resource Annotation -- Autowire POJOs with the @Inject Annotation -- 2-5. Set a POJOâ#x80;#x99;s Scope with the @Scope Annotation -- Problem -- Solution -- How It Works -- 2-6. Use Data from External Resources (Text Files, XML Files, Properties Files, or Image Files) -- Problem -- Solution -- How It Works -- Use Properties File Data to Set Up POJO Instantiation Values -- Use Data from Any External Resource File for Use in a POJO
- Summary:
- Solve all your Spring 5 problems using complete and real-world code examples. When you start a new project, you'll be able to copy the code and configuration files from this book, and then modify them for your needs. This can save you a great deal of work over creating a project from scratch. The recipes in Spring 5 Recipes cover Spring fundamentals such as Spring IoC container, Spring AOP/ AspectJ, and more. Other recipes include Spring enterprise solutions for topics such as Spring Java EE integration, Spring Integration, Spring Batch, Spring Remoting, messaging, transactions, and working with big data and the cloud using Hadoop and MongoDB. Finally, Spring web recipes cover Spring MVC, other dynamic scripting, integration with the popular Grails Framework (and Groovy), REST/web services, and more. You'll also see recipes on new topics such as Spring Framework 5, reactive Spring, Spring 5 microservices, the functional web framework and much more. This book builds upon the best-selling success of the previous editions and focuses on the latest Spring Framework features for building enterprise Java applications. You will: Get re-usable code recipes and snippets for core Spring, annotations and other development tools Access Spring MVC for web development Work with Spring REST and microservices for web services development and integration into your enterprise Java applications Use Spring Batch, NoSQL and big data for building and integrating various cloud computing services and resources Integrate Java Enterprise Edition and other Java APIs for use in Spring Use Grails code and much more.
- Subject(s):
- ISBN:
- 9781484227909 (electronic bk.)
1484227905 (electronic bk.)
1484227891
9781484227893
9781484227893 (print) - Digital File Characteristics:
- text file
PDF - Bibliography Note:
- Includes bibliographical references and index.
View MARC record | catkey: 37444635