Menu

HTML – CRUD example with BOOTSTRAP4

0 Comment

This example of CRUD signup is only the visual part with HTML and BOOTSTRAP4.Step by step I’ll show you how to create the next screen composed of two tabs. List to show all created users form for the creation of users. We will rely on the structure of files and images of the previous tutorial […]

Spring Boot Security #3 | Remember Me persistent Token

0 Comment

Spring Boot Security #3 | Remember Me persistent Token Persistent Token is the second way to get the remember functionality with Spring Boot Security. We will continue where we left the previous post. Spring-boot-security-remember-me-2. We have an MVC project with Spring Boot + security where we put a cookie in session to use the “Remember-me” […]

Spring Boot Security | Remember Me and Persistence #2

0 Comment

Spring Boot Security | Remember Me and session Cookie #2 Keeping an open session and avoiding logging on every time you visit a page is essential. Known as “Remember Me”, is an option in the login form that allows to create a cookie in the browser to be able to keep the session open. This […]

Spring Boot Security | Login | Login + MYSQL #1

0 Comment

Spring boot Security login with MYSQL We will create a simple but pretty login as we did here, with a user with role “user” and another user “ADMIN”. To start you should know how to connect your application with the MYSQL database. If you do not know how you can look at my tutorial where I […]

Spring Boot + MySql

Spring Boot + MySQL | Database connection

0 Comment

Spring Boot + MySQL database connection The most important thing about an information system or computer software is to be able to save your information and that is achieved by connecting to a database. In this tutorial I will show you how to connect to a MYSQL database. Obviously as a pre-requisite you must have […]

Spring Boot Security | From scratch #0

0 Comment

Security With Spring Boot Spring Boot Security provides you with a basic, self-configuring security layer by simply including the following dependency on your pom.xml. <dependency> <groupId>org.springframework.boot</groupId> <artifactId>Spring-boot-starter-security</artifactId> </dependency> How does it work? Once Spring Boot imports the dependency libraries, it puts a layer between view and controller forcing you to only allow access if you […]

Spring Boot Dependency Injection.

0 Comment

Dependency Injection. This concept of dependency injection has a lot of popularity in Java lately thanks to Spring Framework. It is also a fundamental part of the modules that compose Spring Framework Core Container and I will explain how it works. Definition It is a process in which objects define their dependencies, this refers to […]

Spring Boot Profiles | Part 2

0 Comment

Spring Boot Profiles | Part 2 In this tutorial I will use Spring Boot profiles with spring Framework Dependency injection to handle the instances of the service layer. Spring Boot Profiles allows us to configure the application for environments such as development, QA and/or production as you could see in the previous tutorial. (spring boot […]

Spring Boot Profiles Part 1

0 Comment

Spring Boot profiles Spring boot profiles allows us to configure, parameterize or display information depending on the profile in which we decide to start the application. As I understand you can not change profiles dynamically or at runtime. Of the most known cases is configuring the application by environments of execution like for example: Development […]

Spring Boot Properties

0 Comment

Spring Boot Properties How to use external files type properties to display messages or set up your Spring Boot 2 Application. (Spring Boot Properties). There are several ways to consume properties files in JAVA. But today you’ll learn how to do it with Spring Boot 2. By default a Spring Boot 2 application created with […]