Home » Tag Archives: Spring (page 9)

Tag Archives: Spring

Integrate Spring Boot and EC2 using Cloudformation

spring-interview-questions-answers

On a previous blog we integrated a spring boot application with elastic beanstalk. The application was a servlet based application responding to requests. On this tutorial we are going to deploy a spring boot application, which executes some scheduled tasks on an ec2 instance. The application will be pretty much the same application taken from the official spring guide with ...

Read More »

Spring Boot and Application Context Hierarchy

spring-interview-questions-answers

Spring Boot supports a simple way of specifying a Spring application context hierarchy. This post is simply demonstrating this feature, I am yet to find a good use of it in the projects I have worked on. Spring Cloud uses this feature for creating a bootstrap context where properties are loaded up, if required, from an external configuration server which is made available ...

Read More »

Spring Boot and Application Context Hierarchy

spring-interview-questions-answers

Spring Boot supports a simple way of specifying a Spring application context hierarchy. This post is simply demonstrating this feature, I am yet to find a good use of it in the projects I have worked on. Spring Cloud uses this feature for creating a bootstrap context where properties are loaded up, if required, from an external configuration server which is made available ...

Read More »

Build a CRUD Application with React, Spring Boot, and User Authentication

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! React is one of the most popular libraries for creating web application frontends. With Spring Boot it’s easier than ever to create a CRUD backend ...

Read More »

Creating a REST API with Speedment and Spring

spring-interview-questions-answers

With the 4th release of Spring Boot, developing enterprise applications for the web have become so much easier. Something that still requires a lot of time on the developer’s behalf is modelling an existing database in for an example Hibernate to get an object-oriented view of the data. In this tutorial we are going to explore how to use the ...

Read More »

Spring Boot and Thymeleaf: Reload templates and static resources without restarting the application

spring-interview-questions-answers

Thymeleaf was designed around the concept of Natural Templates that allows static prototyping: template logic doesn’t affect the template from being used as prototype. Although this is a great technique, you may also want to see the results in a running Spring Boot application and without restarting the server each time you change Thymeleaf view. In addition, you may expect ...

Read More »

Making Spring Boot application run serverless with AWS

spring-interview-questions-answers

In several previous posts I described how to setup your Spring Boot application and run it on AWS Elastic Beanstalk. Although this is a great step to go from a physical server to one in the cloud there is an even better step possible! Going serverless. That means no costs for any server and no maintenance or configuring of servers! ...

Read More »

Spring Environment is for initialization code only

spring-interview-questions-answers

Since version 3.1, the Spring framework offers an abstraction towards several different sources through which you can easily configure your application: the Environment. In this post I describe a micro benchmark that I ran to prove that, while it’s a convenient API if you’re using Spring in your application, it might introduce a performance penalty for which you should not ...

Read More »