Tagged “Spring Boot”

Spring Framework - New RequestMapping annotations

07 Jan, 2017

There are some new improvements in Spring Boot 1.4 and Spring 4.3 which lead to a better readability and some use of annotations, particularly with HTTP request methods. @GetMapping, @PutMapping, @DeleteMapping, @PostMapping have been introduced.

Tags:

Spring Boot - A quickstart

16 Feb, 2017

We will create a simple Spring Boot application which will run on embedded Apache Tomcat.

Tags:

Spring Boot - Changing and configuring default embedded server

16 Feb, 2017

Spring Boot supports Tomcat, Undetow and Jetty as embedded servers. Now, we will change and/ or configure the default embedded server and common properties to all the available servers.

Tags:

Spring Boot - ApplicationRunner vs CommandLineRunner

17 Feb, 2017

Spring Boot provides two interfaces CommandLineRunner and ApplicationRunner to run specific piece of code when application is fully started. These interfaces get called just before run() on SpringApplication completes.

Tags:

Spring Boot - Restful webservices with Jersey

19 Feb, 2017

In this post, we will create Restful webservices with Jersey deployed on embedded Undertow server as a Spring Boot Application.

Tags:

Spring Boot - Spring Data JPA with embedded database

07 Mar, 2017

We will create a Restful web-services which will use JPA to persist the data in the embedded database(h2).

Tags:

Spring Security - How to use Basic Authentication?

14 Mar, 2017

It’s simplest of all techniques and probably most used as well. You use login/password forms – it’s basic authentication only. You input your username and password and submit the form to server, and application identify you as a user – you are allowed to use the system – else you get error.

Tags:

Spring Security - How to use Digest Authentication?

14 Mar, 2017

This authentication method makes use of a hashing algorithms to encrypt the password (called password hash) entered by the user before sending it to the server. This, obviously, makes it much safer than the basic authentication method, in which the user’s password travels in plain text (or base64 encoded) that can be easily read by whoever intercepts it.

Tags:

Spring Security - How to use Form based authentication?

21 May, 2017

This authentication method makes use of Login form (username and password) to authenticate.

Tags:

See all tags.