Hello readers, Here are the latest stories from various authors in our Spring Boot Developers publication.

Top Pros & Cons Of Using Spring Boot For Business Enterprises

When choosing a reliable framework, there are many points one should consider. The proper framework offers multiple advantages that give a business enterprise an edge over others. In contrast, a wrong choice leads to unnecessarily delay to the business website or app development project.

DTO and Mapstruct — explanation for 5 years old

If you reading this article, it seems, you have already skipped lots of articles, videos that have been written in unnecessary difficult language. Put a pillow under your neck, after 3 minutes you will have a whole image about DTOs.

Guide to use Lombok In Spring Boot

Java Full Stack Development

What I Faced While Configuring and Using For Java Fullstack Developments

As we all know Apple has released its newest silicon M1 chip and for the moment we can have that with the latest Macbook Air(M1, 2020), Macbook Pro(M1, 2020), and Mac Mini (M1, 2020). Additionally, all the newest Apple Macbooks are coming with MacOs BigSur and as they mentioned on the official Apple website, Silicon M1 is a Small Chip, Giant Leap.

Here I’m going to share my experience with configuring and using the Apple MacBook pro silicon M1 chip for software developments. …

Hello @Raj, Nice and well written article about spring boot. By the way do you like to add this article to https://medium.com/spring-boot publication? for the moment we have 700+ followers and still we are in growing stage.

Including Getter, Setter, Data, Slf4j, Builder and Many common uses with Spring Boot

Project Lombok, one of the coolest java library which capable of minimizing your code. This is a plugin that we could configure with your editor and build tools.

Then you would not have to worry about writing getters, setters, and much more boilerplate stuff you have to write in java classes. Here I’ll discuss how we can integrate Lombok with a Spring Boot application and ways to get used from it.

Technologies Going to Use,

  • Java 1.8
  • Spring Boot: 2.3.4.RELEASE
  • Lombok
  • Gradle
  • IntelliJIdea For IDE

How Lombok Works?

Lombok is…

Differentiating API Responses and API Errors With Multiple Property Files

In this tutorial, I’m going to explain how we can use multiple message properties files in a spring boot application. We can use this approach when we need to differentiate message properties into multiple files.

Just think you have a requirement of keeping messages error messages, API responses in different message property files. We can use the following approach to keep errors and API responses in different files.

Technologies Going to Use,

  • Java 1.8
  • Spring Boot: 2.3.4.RELEASE
  • Lombok
  • Gradle
  • Intellij Idea for IDE

Create a Spring Boot Application

Here I’m using spring initializr to generate…

Spring Boot

Swagger2 API Documentation For Microservices

Swagger is one of the best automated tools that was developed mainly for the use of generating API documentation and also could be used as a free service to test API, to generate server stubs, to design API and many more. Swagger API documentation comes as a JSON and Swagger UI which is also another product of swagger that will consume the same JSON and generate a fancy and user-friendly UI to read the API documentation and test the API.

How to configure Swagger for a Microservices Project?

For this scenario, We’ve to configure swagger core on all the microservices for which we are generating API documentation. Then…

Spring Boot

Secure API Gateway | Authentication and Authorization | JWT

Microservices with Spring Boot | Secure API Gateway | Authentication & Authorization | JWT

Configure Authentication and Authorization Layer to Secure API endpoints.

Security is one of the biggest concerns in software application development. To secure API inside the microservices application, We can use many methods. Here I’m going to secure the API gateway which we built previous post, by authenticating and authorize requests from API consumers. It’ll ensure the overall security inside the microservices application.

To build the auth layer, I’m going to create another service named as ‘auth-service’. Basically, ‘auth-service’ is controlling the authentication of users by generating JWT tokens for successful authentication…

If you’ve good content which related for Spring Boot just send me a buzz via sendtoclabz@gmail.com.

Happy Coding !!!!!!!

Spring Boot

Zuul API Gateway

Image Credit: https://www.tinfoilsecurity.com/blog/api-scanner

In my first medium post on Building Microservice with Spring Boot — Part 01, I’ve completed building the basic structure of microservices based projects using Spring cloud, Netflix Eureka Registry, SpringBoot etc. Here I’ll explain how to integrate API Gateway to the microservices based project that I’ve developed for the previous post, and how to secure the API using JWT (JSON Web Token) with creating API documentation using Swagger2.

High-level Architecture

Spring Boot

Spring Boot | Spring Cloud Netflix Eureka

Microservices, One of the most famous topics in the modern software development industry. Since Microservices are used by Uber, Netflix, Linkedin, and many other famous companies around the globe. We can get a better understanding of the growth of microservices after 2012 by querying google trends for ‘Microservices’ Keyword.

Chinthaka Dinadasa

Associate Tech Lead@99X, I write about Java Spring Boot and more interesting topics around Java ecosystem.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store