Code Monk

Tech forum for Java, algorithms & data-structures, Hibernate, RESTful API, Spring framework, Microservices architecture, Interview questions, Python, SDET, Machine learning, DevOps.

Precision and scale for a Double in java

Carvia Tech | August 03, 2020 | 2 min read | 416 views

In this article we will learn difference between Precision and Scale and how to use BigDecimal class to round a Double value to required scale in Java

Read Article

Table backed global counter in spring hibernate

Carvia Tech | August 01, 2020 | 4 min read | 1,952 views

How to implement thread safe table backed global counter in spring hibernate

Read Article

AWS Lambda in Kotlin using Spring Cloud Function

Carvia Tech | August 01, 2020 | 5 min read | 368 views | AWS Tutorials

In this tutorial we will use Spring Cloud Functions (version 2.x) in Kotlin to create and deploy a simple AWS Lambda.

Read Article

Kotlin Coroutines with Retrofit

Carvia Tech | August 01, 2020 | 4 min read | 2,033 views

In this tutorial we will use android architecture components for making Kotlin coroutine enabled REST API calls using Retrofit in Android Application

Read Article

Spring RestTemplate Basic Authentication

Carvia Tech | July 31, 2020 | 3 min read | 2,287 views

We will configure RestTemplate with basic authentication credentials in a Spring Boot application using RestTemplateBuilder.

Read Article

N+1 problem in Hibernate & Spring Data JPA

Carvia Tech | July 31, 2020 | 4 min read | 63 views

N+1 problem is a performance issue in Object Relational Mapping that fires multiple Select Queries in database for a single select query at application layer. Hibernate provides multiple ways to identify and prevent this problem.

Read Article

Run method on Spring Boot startup

Carvia Tech | July 31, 2020 | 3 min read | 13,812 views | spring-boot

Spring Boot provides different mechanisms to run a specific method at Application Startup: PostConstruct, CommandLineRunner, ApplicationReadyEvent and ApplicationRunner

Read Article

Spring Boot Sidecar

Carvia Tech | July 31, 2020 | 6 min read | 1,937 views

In this tutorial we will integrate a non-JVM app (python Flask app in this case) into Spring Cloud seamlessly using polyglot sidecar support

Read Article

UBS Java Interview Questions

Carvia Tech | July 31, 2020 | 2 min read | 1 views | investment banking

Important concepts and interview questions for UBS Investment Banking Domain - Concurrency, Multi-threading, Inheritance, Garbage collection, Design Patterns, important books and references

Read Article

SendGrid Attachments with Spring Boot

Carvia Tech | July 28, 2020 | 3 min read | 0 views

SendGrid allows us to attach files with email using base64 encoded format and, it also provides a helper method to seamlessly create emails with attachment.

Read Article

This website uses cookies to ensure you get the best experience on our website. more info