Micronaut

Creating a RESTful API in Micronaut

Micronaut is a popular framework for building lightweight and efficient microservices and serverless applications in Java, Kotlin, and Groovy. In this blog post, we will walk you through the process of creating a RESTful API using Micronaut. We’ll cover how to handle path variables, query parameters, request bodies, and combinations of these in your Micronaut…

Micronaut

Configuring Http Client timeout in Micronaut

In a world where applications rely heavily on communicating with external services and APIs, managing timeouts for your HTTP requests becomes crucial. Micronaut, a modern and lightweight framework, empowers developers to seamlessly configure and control HTTP client timeouts. In this blog, we’ll explore how to configure HTTP client timeouts in Micronaut and ensure smooth interactions…

Micronaut

Mastering Global Exception Handling in Micronaut

In the dynamic landscape of modern software development, creating applications that are robust, resilient, and user-friendly is paramount. Exception handling stands as a critical pillar in achieving these goals, ensuring that unexpected errors and anomalies are managed gracefully. we will delve into the intricacies of Micronaut framework, exploring how to effectively handle exceptions at a…

Micronaut

Benefits of using Micronaut

Micronaut is a modern, JVM-based, full-stack microservices framework designed for building modular, easily testable microservice applications. It is developed by Graeme Rocher, who also know for his contribution to Grails framework. Micronaut tries to solve the drawbacks of java frameworks like spring and also provide built in support for existing development ecosystem, which includes support…

Micronaut

Integrating SonarQube to Micronaut Gradle Application Github Actions

SonarQube is an open-source platform for continuous code quality inspection, code analysis, and software quality management. It provides a variety of tools and features to analyze code quality and identify potential issues, such as code smells, security vulnerabilities, and bugs. With SonarQube, developers can continuously monitor the quality of their code, track metrics and trends,…

Micronaut

Association in Micronaut Data

Micronaut Data is a simple ORM provided by the micronaut team, Micronaut Data decouples the database structure from the application code, providing a more flexible and maintainable solution. It maps objects to database tables and defines relationships between the objects. The Micronaut Documentation doesn’t cover this in detail on how to actually use this feature,…

Micronaut

Integrating AWS Service Discovery in Micronaut Application

Integrating AWS Service Discovery into Micronaut can greatly improve the scalability and reliability of your microservice-based applications. AWS Service Discovery allows you to automatically register and discover services in your environment, making it easier to manage and track changes to your infrastructure. In this blog post, we’ll explore the steps required to integrate AWS Service…

Micronaut

Dealing with JSONB data Type in Micronaut

Introduction If you’re working with Micronaut and PostgreSQL, you’ve likely encountered the challenge of handling JSONB data types in your Micronaut entities. This blog aims to provide you with a clear solution to efficiently save and retrieve JSONB data within your Micronaut application. The JSONB Challenge As per the official documentation, you might have come…