Home » Tag Archives: Spring (page 10)

Tag Archives: Spring

HOW-TO: Java 8 Date & Time with Thymeleaf and Spring Boot

spring-interview-questions-answers

If you happen to work with Spring Boot and Thymeleaf and you need to format Java 8 Date & Time objects in your views you may utilize thymeleaf-extras-java8time – Thymeleaf module for Java 8 Date & Time API. Adding thymeleaf-extras-java8time to an existing Maven or Gradle based Spring Boot project is as easy as adding a dependency and registering new ...

Read More »

Spring and Amazon Web Services

spring-interview-questions-answers

Amazon Web Services (or AWS) is nowadays one of the most common choices of the infrastructure and hardware providers to use and deploy to. Many Spring applications have tackled challenges of integrating the application infrastructure and the underlying layer. These in-house solutions differ in complexity and the degree of sophistication when it comes to the design and the actual functionality. ...

Read More »

Spring Boot Oauth2 Security

spring-interview-questions-answers

This post is an enhancement for my previous post which talks about how to secure your REST API using Spring security oauth2. In case if you missed it, here is the place to grab: http://blog.rajithdelantha.com/2015/09/secure-your-rest-api-with-spring.html Spring boot is one of the new inventions from Spring framework that makes developers’ lives easier when building large scale applications. Here is a good ...

Read More »

Simpler handling of asynchronous transaction bound events in Spring 4.2

spring-interview-questions-answers

Introduction As you probably already know (e.g. from my previous blog post) it is no longer needed to create a separate class implementing ApplicationListener with onApplicationEvent method to be able to react to application events (both from Spring Framework itself and our own domain events). Starting with Spring 4.2 the support for annotation-driven event listeners was added. It is enough ...

Read More »

Annotation-driven event listeners in Spring 4.2

spring-interview-questions-answers

Introduction Exchanging events within the application has become indispensable part of many applications and thankfully Spring provides a complete infrastructure for transient events (*). The recent refactoring of transaction bound events gave me an excuse to check in practice the new annotation-driven event listeners introduced in Spring 4.2. Let’s see what can be gained. (*) – for persistent events in ...

Read More »

Placeholders support in Value annotations in Spring

spring-interview-questions-answers

${...} placeholders in @Value annotation are used to access properties registered with @PropertySource. This is extremely useful with @Configuration beans in Spring applications, but not only. To be sure that this is possible, PropertySourcesPlaceholderConfigurer must be present in all application contexts that placeholders resolution is required. In this blog post you will learn how to configure placeholders resolution in Spring ...

Read More »

Spring Integration Course Summary

spring-interview-questions-answers

This article is part of our Academy Course titled Spring Integration for EAI. In this course, you are introduced to Enterprise Application Integration patterns and how Spring Integration addresses them. Next, you delve into the fundamentals of Spring Integration, like channels, transformers and adapters. Check it out here! This course is first focused on learning the basics of the Spring ...

Read More »

Monitoring and Management

spring-interview-questions-answers

This article is part of our Academy Course titled Spring Integration for EAI. In this course, you are introduced to Enterprise Application Integration patterns and how Spring Integration addresses them. Next, you delve into the fundamentals of Spring Integration, like channels, transformers and adapters. Check it out here! Table Of Contents 1. Introduction 2. Publishing and receiving JMX notifications 2.1. ...

Read More »

Spring Integration Full Example

spring-interview-questions-answers

This article is part of our Academy Course titled Spring Integration for EAI. In this course, you are introduced to Enterprise Application Integration patterns and how Spring Integration addresses them. Next, you delve into the fundamentals of Spring Integration, like channels, transformers and adapters. Check it out here! Table Of Contents 1. Introduction 2. Overview of the system 3. The ...

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