Home » Tag Archives: Spring (page 4)

Tag Archives: Spring

Spring Cloud Zuul – Writing a Filter

spring-interview-questions-answers

Netflix OSS project Zuul serves as a gateway to backend services and provides support for adding in edge features like security, routing. In the Zuul world specific edge features are provided by components called the Zuul Filter and writing such a filter for a Spring Cloud based project is very simple. A good reference to adding a filter is here. Here I ...

Read More »

Managing Secrets with Vault

spring-interview-questions-answers

How do you store Secrets? Passwords, API keys, secure Tokens, and confidential data fall into the category of secrets. That’s data which shouldn’t lie around. It mustn’t be available in plaintext in easy to guess locations. In fact, it must not be stored in plaintext in any location. Sensitive data can be encrypted by using the Spring Cloud Config Server ...

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 »

Spring Cloud Zuul Support – Configuring Timeouts

spring-interview-questions-answers

Spring Cloud provides support for Netflix Zuul – a toolkit for creating edge services with routing and filtering capabilities. Zuul Proxy support is very comprehensively documented at the Spring Cloud site. My objective here is to focus on a small set of attributes relating to handling timeouts when dealing with the proxied services. Target Service and Gateway To study timeouts better I have ...

Read More »

JSON Web Tokens With Spring Cloud Microservices

At Keyhole, we have published several blogs about Microservices. We’ve talked about architectural patterns used in a Microservices environment such as service discovery and circuit breaker. We’ve even posted blogs on platforms and tools, such as the recent blog on Service Fabric. One important piece of the architecture that we have glossed over is the security around Microservices. Specifically, authentication ...

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 »

JSON Web Tokens With Spring Cloud Microservices

spring-interview-questions-answers

At Keyhole, we have published several blogs about Microservices. We’ve talked about architectural patterns used in a Microservices environment such as service discovery and circuit breaker. We’ve even posted blogs on platforms and tools, such as the recent blog on Service Fabric. One important piece of the architecture that we have glossed over is the security around Microservices. Specifically, authentication ...

Read More »

Integrating Quartz with Spring

spring-interview-questions-answers

When it comes to scheduling jobs in a java application, Quartz is the first tool that comes into consideration. Quartz is job scheduler backed up by most popular RDBMSes. It is really convenient and gets integrated with spring quite easy. In order to create the quartz schema you have to download the quartz distribution and extract the folder located in quartz-2.2.3/docs/dbTables/ Choose ...

Read More »

Spring-Reactive samples

spring-interview-questions-answers

Spring-Reactive aims to bring reactive programming support to Spring based projects and this is expected to be available for the timelines of Spring 5. My intention here is to exercise some of the very basic signatures for REST endpoints with this model. Before I go ahead let me acknowledge that this entire sample is completely based on the samples which Sébastien Deleuze has ...

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