• Post category:StudyBullet-17
  • Reading time:6 mins read

FullStack SpringBoot (2+) - Practical Solutions
SpringBoot 2+, MongoDB / GridFS, MS Excel, SMTP, PDF

What you will learn

Embed SMTP server right into your existing SpringBoot application and process incoming emails in your application.

Create PDF files on-fly with nice formatting, images, barcodes

Create MS Excel file from scratch or exiting template, use advanced formatting, embedding images, working with multiple sheets

Manage file upload and download using MongoDB GridFS as a data storage from your SpringBoot applications

Basic MongoDB usage for storing ad-hoc data

Description

Welcome to the β€˜FullStack SpringBoot (2+)’ Practical Solutions course. With this course you are going to add a value to your existing JAVA and SpringBoot knowledge by getting familiar with several techniques for solving specifically selected areas of JAVA application development. Each topic involves project configuration section but mostly covers practical solutions being split into several steps.

We will focus on several topics often useful in corporate JAVA development but not exclusively. SpringBoot is being used here as an underlying framework, but solutions presented here are not specific to this platform and can be reused in other frameworks likeΒ  Apache Wicket, Vaadin, Quarkus etc. Java 8 is used in this course, solutions provided are safe to use even in existing legacy projects.

What you’ll learn

  • how to work with MongoDB as primary data store
  • include dynamically created MS Office files into your data export features
  • how to process incoming email traffic coming to your app directly
  • how to create full featured PDFs on fly using HTML and CSS only

Primary idea of this course is to help existing JAVA developers to adopt certain knowledge in easy way. Solutions presented are being used for several years in production grade applications and libraries used are well known for stability and active development. This will protect the value invested into adopting some libraries or projects.


Get Instant Notification of New Courses on our Telegram channel.


Topics covered by this course:

  • creating PDF files dynamically using Thymeleaf, iText
  • using Apache POI for generating MS Excel compatible files
  • using MongoDB/GridFS for storing and retrieving file attachments/uploads
  • implementing SMTP listener running directly in SpringBoot application

Glue-code for all those implementations are SpringBoot 2.x (SpringBoot 1.5x and higher compatible) with its services, controller and Thymeleaf asΒ  a template engine.

Who is this course for:

FullStack SpringBoot course is targeted for individuals or small/medium teams of professional Java developers that want to be productive and competitive in this large market. techniques presented are easily used for application development of many kinds.

English
language

Content

Introduction

Introduction

Creating PDFs using Thymeleaf template engine

Setting-up basic project structure + adding dependencies
Creating first PDF file – backend
Creating first PDF file – frontend
Formatting PDF with CSS and HTML
Adding images
Adding on-fly generated bar code
Signing PDF
Adding fonts
Adding electronic signature

Creating MS Excel files using Apache POI on fly.

Setting-up basic project structure and dependencies
Creating our first MS Excel file – backend
Serve on-fly generated file from SpringBoot controller – frontend
Formatting Excel file (styles)
Adding images into Excel file

File upload/download with GridFS (MongoDB)

What is GridFS and why to use it?
Storing file uploads into GridFS – backend
Storing file uploads into GridFS – frontend with Thymeleaf
Downloading files stored in GridFS – backend
Downloading and deleting files stored in GridFS – frontend
Using stored files metadata

Receiving emails directly into Java / SpringBoot application

Basic SMTP listener concept description
Setting-up basic project structure + dependency configuration
SMTP listener implementation
Processing incomming emails basics
Processing emails – implementation
Sending emails using Mozilla Thunderbird
Making solution a bit more flexible
Storing incomming email into MongoDB