Home » Tag Archives: Spring Boot

Tag Archives: Spring Boot

Deploy Spring Boot Application on Amazon Elastic Beanstalk

spring-interview-questions-answers

In this blog, we are going to see how to deploy a Spring boot application on Amazon ElasticBeanstalk. Amazon ElasticBeanstalk has a preconfigured Java environment, which could be used to deploy a Spring Boot JAR which has the servlet container inside it. For our example, we will use maven as the build tool here. Step 1 : The first step ...

Read More »

Suppress FindBugs Warnings in a Java and Spring Boot Web Application using Gradle

gradle-logo

How to Suppress FindBugs Warnings using Annotations in a +Spring Boot and +Java Application If your build is breaking because of a FindBugs issue and it is a false-positive or you are unable to resolve the issue because of other considerations, you can add an Annotation to ignore the Findbugs warning. Update your Gradle Dependencies You will want to add the following compile time ...

Read More »

A Simple Web App with Spring Boot, Spring Security and Stormpath – in 15 Minutes

spring-interview-questions-answers

Building Identity Management, including authentication and authorization? Try Stormpath! Our REST API and robust Java SDK support can eliminate your security risk and can be implemented in minutes. Sign up, and never build auth again! UPDATE: We recently released a revision to our Stormpath Spring Security integration. You no longer have to inherit from a special Stormpath security configurer adapter. ...

Read More »

Microservices with Spring Boot, Axon CQRS/ES and Docker

docker-logo

In the last year or two, the pace of change in software architecture has rapidly advanced with new approaches like DevOps and Microservices becoming hot topics overnight. In this post, I want to introduce you to a project that I’ve been working on which combines two of the stand out architectural advances of the last few years: Microservices and the Command and Query Responsibility Separation ...

Read More »

Spring boot and Spring data JPA integration

spring-interview-questions-answers

Nowadays spring and JPA integration has become a piece of cake thanks to Spring Boot and spring Data. I am gonna setup a postgresql server docker pull postgres #run the container docker run --name postgreslocal -e POSTGRES_PASSWORD=postgres -d postgres #get the ip docker inspect --format '{{ .NetworkSettings.IPAddress }}' postgreslocal #get the port docker inspect --format '{{ .NetworkSettings.Ports }}' postgreslocal Create ...

Read More »

Aspect Oriented Programming with Spring Boot

spring-interview-questions-answers

On a previous post I provided a simple example on how to achieve aspect orientation in spring by using a ProxyFactoryBean and implementing the MethodBeforeAdvice interface. On this example we will learn how to achieve aspect orientation by using Spring boot and Aspect4j annotations. Let’s start with our gradle file. group 'com.gkatzioura' version '1.0-SNAPSHOT' apply plugin: 'java' apply plugin: 'idea' ...

Read More »

Validating JWT with Spring Boot and Spring Security

spring-interview-questions-answers

For my current project I will have a REST API set up with Spring Boot (most likely running with BoxFuse). To be able to use the API endpoint the application will check that the incoming request has a valid JWT token provided earlier (by an API service that I trust). To implement this functionality I want to make use of ...

Read More »

Build a new Web Application from scratch using Spring boot, Thymeleaf, AngularJS – Part 3

spring-interview-questions-answers

In the previous blogs we built the landing page using Thymeleaf, Bower and Bootstrap and deployed it to Heroku. In this blog we will introduce some functionality with AngularJS for front end and Spring Boot Webservices at backend. We will begin with Login/Logout section. Lets begin with installing AngularJS in our application using bower. Introducing AngularJS $ bower install angular --save ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials