Spring Boot - Quick Start
$10.00
Minimum price
$20.00
Suggested price

Spring Boot - Quick Start

Version: 2.0 - Date: 04.2021

About the Book

This is first Book in the series

1. Spring Boot - Quick Start

2. Spring Boot - Accessories

3. Spring Boot - Security

Content

Intention of this Book is to quickly get you started using Spring Boot to develop Web Applications.

Book covers basic functionalities like: Controllers, Endpoints, Entities, DTOs, Services, Repositories.

Standalone Tutorials

The core of this Book are standalone tutorials that explain different functionalities of Spring Boot.

Each tutorial contains minimum amount of code needed to explain specific functionality.

And also minimum amount of encompassing text that explains related theory and different parts of the code.

This approach allows students to grasp presented concepts in a very fast and efficient manner.

Full code, which can also be downloaded from GitHub, prevents any time being wasted trying to make the code work.

Simple examples allow for full understanding of the functionality without any unnecessary distractions.

Theoretical Background

Where needed tutorials are preceded by chapters focusing on theoretical background.

This way reader can fully understand functionalities explained in the subsequent chapters.

But such chapters are in minority and of secondary importance because the main focus is on practical applications.

Demo Applications

Book contains demo Applications that show how to combine functionalities covered in previous tutorials. More complex Application "Authors & Books" is broken into multiple steps showing how to add additional functionalities at each step.

  • Share this book

  • Feedback

    You must own a copy of this Book to access the forums.

    Email the Author(s)

About the Author

Ivor Online
Ivor Online

WHY TUTORIALS?

"Things are only as complicated as they are badly explained" 

Proper documentation is essential to avoid struggle and frustration when working with simple things that only seem complicated by not being properly documented and explained. 

 

WHAT KIND OF TUTORIALS?

"Working example is worth thousand words"

Just like the picture is worth thousand words the same goes for the working example. Documentation in the form of working examples is proved to be the fastest and the most effective way of transferring knowledge. Sometimes an example is all you need to get the things done. And if there are some accompanying comments that explain what is going on even better. This approach is used in this book. This results in fast learning and the ability to apply tutorials when you need them in the spirit of Just In Time Support. 

I wish you rapid learning!

www.ivoronline.com

 

 

Bundles that include this book

$60.00
Suggested Price
$40.00
Bundle Price

Table of Contents

  • 1. Quick Start
    • 1.1 Install
      • 1.1.1 Java
      • 1.1.2 IntelliJ IDEA
    • 1.2 Create Project with IntelliJ
      • 1.2.1 Community Edition (free)
      • 1.2.2 Ultimate Edition (paid)
    • 1.3 Application
      • 1.3.1 Run
      • 1.3.2 Deploy
  • 2. Basic Terms
    • 2.1 Project
      • 2.1.1 Spring Boot Starters
      • 2.1.2 Spring Initializer
      • 2.1.3 Spring Boot Project
    • 2.2 Object Types
      • 2.2.1 Entity Object (DO)
      • 2.2.2 Data Access Object (DAO)
      • 2.2.3 Data Transfer Object (DTO)
      • 2.2.4 Data Converter Object (DCO)
      • 2.2.5 Controller Object (CO)
    • 2.3 Profiles
      • 2.3.1 Assign Profile - To Class
      • 2.3.2 Assign Profile - To application.properties
      • 2.3.3 Specify Active Profile - Using Run Configuration
      • 2.3.4 Specify Active Profile - Using application.properties
    • 2.4 application.properties
      • 2.4.1 Read Property - From Controller
      • 2.4.2 Read Property - From HTML
      • 2.4.3 Built-in Properties
    • 2.5 @Autowired
      • 2.5.1 Manually
      • 2.5.2 Location - Property
      • 2.5.3 Location - Setter
      • 2.5.4 Location - Constructor
      • 2.5.5 Interface - @Primary
      • 2.5.6 Interface - @Qualifier
      • 2.5.7 Interface - @Profile
    • 2.6 Service
      • 2.6.1 Business Logic - Inside Controller
      • 2.6.2 Business Logic - Inside Service
      • 2.6.3 Instantiate Service - Using Class
      • 2.6.4 Instantiate Service - Using Class - @Autowired
      • 2.6.5 Instantiate Service - Using Interface
      • 2.6.6 Instantiate Service - Using Interface - @Autowired
  • 3. Controller
    • 3.1 Annotations
      • 3.1.1 @Controller
      • 3.1.2 @RestController
    • 3.2 Endpoints
      • 3.2.1 @RequestMapping
      • 3.2.2 @GetMapping
      • 3.2.3 @PostMapping
      • 3.2.4 @RequestParam
      • 3.2.5 @PathVariable
      • 3.2.6 Return - Data - Text
      • 3.2.7 Return - Data - JSON
      • 3.2.8 Return - View - HTML
      • 3.2.9 Return - View - Thymeleaf
      • 3.2.10 Return - View - JSP
      • 3.2.11 Download - Excel
      • 3.2.12 Download - Excel - With Header
  • 4. Database
    • 4.1 Entity
      • 4.1.1 Properties - Public
      • 4.1.2 Properties - Private - Getters & Setters
      • 4.1.3 Properties - Private - Getters & Constructor
      • 4.1.4 @Entity
      • 4.1.5 @Id
      • 4.1.6 @IdClass
      • 4.1.7 @EmbeddedId
      • 4.1.8 @Table
      • 4.1.9 @Column
      • 4.1.10 @Transient
      • 4.1.11 Recommended Annotations
    • 4.2 Databases
      • 4.2.1 H2
      • 4.2.2 MySQL
      • 4.2.3 PostgreSQL
      • 4.2.4 MongoDB
    • 4.3 Relationships
      • 4.3.1 @OneToOne - Join Table
      • 4.3.2 @OneToOne - Foreign Key
      • 4.3.3 @OneToMany - Join Table
      • 4.3.4 @OneToMany - Foreign Key
      • 4.3.5 @ManyToMany - Join Table
    • 4.4 Queries
      • 4.4.1 Native Query
      • 4.4.2 JPQL
  • 5. DTO
    • 5.1 Deserialize
      • 5.1.1 From Request Parameters - Using Setters
      • 5.1.2 From Request Parameters - Using Setters - Customized
      • 5.1.3 From Request Parameters - Using Map
      • 5.1.4 From Request Parameters - Using Map - Customize Setter
      • 5.1.5 From JSON - @RequestBody - Object - Properties
      • 5.1.6 From JSON - @RequestBody - Object - Setters
      • 5.1.7 From JSON - @RequestBody - Object - Constructor
      • 5.1.8 From JSON - @RequestBody - Object - Constructor - Custom
      • 5.1.9 From JSON - @RequestBody - Object - All
      • 5.1.10 From JSON - @RequestBody - Array
      • 5.1.11 From JSON - @JsonProperty - Properties
      • 5.1.12 From JSON - @JsonProperty - Setters
      • 5.1.13 From JSON - @JsonProperty - Constructor
      • 5.1.14 From JSON - @JsonFormat - Properties
      • 5.1.15 From JSON - @JsonFormat - Setters
      • 5.1.16 From JSON - @JsonFormat - Constructor
      • 5.1.17 From JSON - @JsonDeserialize
    • 5.2 Serialize Response DTO
      • 5.2.1 @ResponseBody
      • 5.2.2 @JsonSerialize
  • 6. Object Mapping
    • 6.1 Manual Mapping
    • 6.2 JMapper
      • 6.2.1 Using Annotations
    • 6.3 Map Struct
      • 6.3.1 Using Annotations
    • 6.4 Model Mapper
      • 6.4.1 Overview
      • 6.4.2 Matching Strategy
      • 6.4.3 Default Mapping
      • 6.4.4 Custom Mapping
      • 6.4.5 Exclude Mapping
  • 7. Demo Applications
    • 7.1 Simple Applications
      • 7.1.1 Store Entity from JSON
      • 7.1.2 Store Entities from JSON Array
    • 7.2 Authors & Books
      • 7.2.1 Step 1: Create Project
      • 7.2.2 Step 2: Entity - Author
      • 7.2.3 Step 3: Entity - Book
      • 7.2.4 Step 4: Relationship @OneToMany
      • 7.2.5 Step 5: Service - Add Author
      • 7.2.6 Step 6: Service - Add Book
      • 7.2.7 Step 7: Service - Get Books
      • 7.2.8 Step 8: Service - Add Author & Book
  • 8. Appendix
    • 8.1 Lombok
      • 8.1.1 Lombok API - Use
      • 8.1.2 Lombok Plugin - Install for IntelliJ
      • 8.1.3 Lombok Plugin - Lombok
      • 8.1.4 Lombok Plugin - Delombok
    • 8.2 IntelliJ
      • 8.2.1 Copy Project
      • 8.2.2 DB Tools
    • 8.3 IntelliJ - Developer Tools
      • 8.3.1 Install Chrome Extension: Live Reload
      • 8.3.2 IntelliJ Registry: compiler.automake
      • 8.3.3 Run Configuration: Update classes and resources
      • 8.3.4 Settings: Build Project Automatically
      • 8.3.5 Create Spring Boot Project
    • 8.4 Database - H2
      • 8.4.1 Application Example
      • 8.4.2 DB: Specify Name
      • 8.4.3 Console: Enable
      • 8.4.4 Console: Open
      • 8.4.5 Console: Show Records
      • 8.4.6 Console: Security
    • 8.5 Database - MySQL
      • 8.5.1 Create Schema/Database
  • 9. Errors
    • 9.1 Maven
      • 9.1.1 Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
    • 9.2 Controller
      • 9.2.1 Circular view path
    • 9.3 Database
      • 9.3.1 Cannot Resolve Table
      • 9.3.2 Records are not inserted into DB
      • 9.3.3 Database Tool Window can't see H2 Tables
  • 10 Summary
    • 10.1 Spring Boot Application
      • 10.1.1 Create Spring Boot Project
      • 10.1.2 Deploy
    • 10.2 Main Terms
      • 10.2.1 Object Types
      • 10.2.2 application.properties
      • 10.2.3 Profiles
      • 10.2.4 @Autowired
      • 10.2.5 Service
    • 10.3 Controller & Endpoints
      • 10.3.1 URL Mapping
      • 10.3.2 Input Parameters
      • 10.3.3 Return Value
    • 10.4 Database
      • 10.4.1 Entity
      • 10.4.2 Relationships
      • 10.4.3 Queries
      • 10.4.4 Different Databases
    • 10.5 DTO
      • 10.5.1 Deserialize Request DTO
      • 10.5.2 Serialize Response DTO
    • 10.6 Object Mapping
      • 10.6.1 JMapper
      • 10.6.2 Map Struct
      • 10.6.3 Model Mapper

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$10,607,028writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub