Code Monk

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

AWS Java SDK 2 - S3 File upload & download

Carvia Tech | January 05, 2021 | 4 min read | 4,118 views | AWS Tutorials

In this tutorial, we will walk through new AWS SDK 2 for doing object level operations on S3 bucket. We will specifically cover PutObject, GetObject and GetUrl operation on S3 Objects using AWS SDK 2

Read Article

Spring RestTemplate Basic Authentication

Carvia Tech | December 26, 2020 | 3 min read | 2,287 views

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

Read Article

Given a collection of 1 million integers, all ranging between 1 to 9, sort them in Big O(n) time

Carvia Tech | November 22, 2020 | 2 min read | 669 views | Java Coding Challenges algorithm-datastructures

This is a typical Integer Sorting problem with a constraint that the number range to sort is very limited in spite 1 million total entries. Integer Sorting with limited range is achieved efficiently with Bucket Sorting.

Read Article

Goldman Sachs Java Interview Questions

Carvia Tech | November 22, 2020 | 4 min read | 3,022 views | investment banking

Goldman Sachs Java Interview Questions on core java problems, coding challenges, data structures and algorithms, performance issues, design problems, and testing aspects.

Read Article

50 microservices interview questions for Java developers

Carvia Tech | November 22, 2020 | 2 min read | 1,250 views | microservices-architecture

50 Spring Microservices interview questions for experienced Java Developers - core concepts, oauth2 security, testing microservices, deployment patterns, and best practices

Read Article

Dialoglfow fulfillment with Spring Boot

Carvia Tech | November 21, 2020 | 2 min read | 649 views

In this tutorial we will learn how to implement Google Dialogflow response fulfilment webhook API with a Spring Boot application.

Read Article

Run method on Spring Boot startup

Carvia Tech | November 21, 2020 | 3 min read | 15,465 views | spring-boot

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

Read Article

CRC32 checksum calculation Java NIO

Carvia Tech | November 21, 2020 | 1 min read | 100 views

Java FileChannel provide much better performance than the BufferedInputStream and RandomAccessFile classes.

Read Article

ConcurrentModificationException in Java

Carvia Tech | November 21, 2020 | 1 min read | 1,287 views | Multithreading and Concurrency

ConcurrentModificationException is raised by fail-fast iterators when the underlying collection is modified structurally during iteration.

Read Article

Relative efficiency of Algorithms using Big O Notation

Carvia Tech | November 21, 2020 | 2 min read | 143 views

Big O Notation is a mechanism used to measure the relative inefficiencies of Algorithms in terms of space and time. In this article, we will discuss commonly used Big O Notations and their practical significance.

Read Article