Home » Tag Archives: Spring (page 5)

Tag Archives: Spring

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 »

Spring Integration MongoDB adapters with Java DSL

1 Introduction This post explains how to save and retrieve entities from a MongoDB database using Spring Integration. In order to accomplish that, we are going to configure inbound and outbound MongoDB channel adapters using the Java DSL configuration extension. As an example, we are going to build an application to allow you to write orders to a MongoDB store, ...

Read More »

Recipe for getting started with Spring Boot and Angular 2

I am primarily a service developer who has to create some passable UI’s once in a while. I was adept at basic AngularJS1 based UI’s and could get stuff done by using an approach that I have outlined before. With the advent of Angular 2 I had to unfortunately throw my previous approach out of the window and now have an approach ...

Read More »

Spring Kafka Producer/Consumer sample

spring-interview-questions-answers

My objective here is to show how Spring Kafka provides an abstraction to raw Kafka Producer and Consumer API’s that is easy to use and is familiar to someone with a Spring background. Sample scenario The sample scenario is a simple one, I have a system which produces a message and another which processes it         Implementation using ...

Read More »

Create JNDI resources for JUnit testing using Spring

Until recently, I had static methods setting up my in memory database (HSQLDB). I called these methods in setUp/tearDown of my JUnit tests. This felt always a bit unnatural to me as I use Spring and everything should run through it’s application context. Creating a simple JNDI bean As I use JNDI in production, I had to created a JNDI ...

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:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns