Home » Tag Archives: Microservices (page 4)

Tag Archives: Microservices

Secure Service-to-Service Spring Microservices with HTTPS and OAuth 2.0

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Building a microservices architecture is possible with minimal code if you use Spring Boot, Spring Cloud, and Spring Cloud Config. Package everything up in Docker containers and ...

Read More »

Microservices for Java Developers: Performance and Load Testing

1. Introduction These days numerous frameworks and libraries make it is pretty easy to get from literally nothing to a full-fledged running application or service in a matter of hours. It is really amazing and you may totally get away with that but more often than not the decisions which frameworks make on your behalf (often called “sensitive defaults”) are ...

Read More »

Have You Tried the MicroProfile Starter Yet?

java-interview-questions-answers

The SPRING INITIALIZR at https://start.spring.io has been around for a while and is the best way to bootstrap a new Spring Boot application. So far, there hasn’t been a similar way to bootstrap a new MicroProfile project even if the different vendors have provided starters for their implementations. But the wait is over! The MicroProfile Starter is currently in “Beta”, ...

Read More »

Dilemma on Utility module, making a jar or separate Microservice?

In my previous article, I talked about how to choose Microservice or Monolith for your new project. As an architect may you follow the points that I mentioned in the previous article and come to a conclusion that you will going to use Microservice Architecture, a big cheers for you. You promoted yourselves as a first-class citizens of the new ...

Read More »

Microservices for Java Developers: Testing

1. Introduction Since Kent Beck coined the idea of test-driven development (TDD) more than a decade ago, testing became an absolutely essential part of every software project which aims for success. Years passed, the complexity of the software systems has grown enormously so did the testing techniques but the same foundational principles are still there and apply. Table Of Contents ...

Read More »

Native microservices with SparkJava and Graal

Microservices written with SparkJava are just plain Java code using a standard Java library. No annotation magic, just code. The advantage of this simple style of programming is that it is, well, simple. It’s so simple that the Graal native compiler just compiles it without blinking, something which is currently very difficult with more complex frameworks like Spring, for example. ...

Read More »

Microservices for Java Developers: Managing Security and Secrets

1. Introduction Security is an exceptionally important element of the modern software systems. It is a huge topic by itself which includes a lot of different aspects and should never come as an afterthought. It is hard to get everything right, particularly in the context of the distributed microservice architecture, nonetheless along this part of the tutorial we are going ...

Read More »

Microservices for Java Developers: Microservices and fallacies of the distributed computing

1. Introduction The journey of implementing microservice architecture inherently implies building the complex distributed system. And fairly speaking, most of the real world software systems are far from being simple, but the distributed nature of the microservices amplifies the complexity a lot. In this part of the tutorial we are going to talk about some of the common traps that ...

Read More »