Code Monk

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

Morgan Stanley Java Interview Questions

Upasana | July 24, 2020 | 3 min read | 2,626 views | investment banking

Morgan Stanley Investment Banking Java Interview Questions: core java, design patterns, multi-threading & concurrency, database, unix operating system

Read Article

Hibernate & Spring Data JPA interview questions

Upasana | July 24, 2020 | 2 min read | 588 views

Compilation of Java interview questions for Hibernate and Spring Data JPA - inheritance concepts, transaction propagation, n+1 problem, locking strategies

Read Article

Disable SSL validation in Spring RestTemplate

Upasana | July 23, 2020 | 3 min read | 13,826 views

In non production environments, we often need to ignore bad ssl certificates (self-signed, expired, non trusted root, etc) for testing purpose. We will configure RestTemplate to still connect to these hosts without failing

Read Article

Rest Assured API Testing Interview Questions

Upasana | July 23, 2020 | 2 min read | 26,489 views | Rest Assured

In this article we will cover important Rest Assured API Testing Interview Questions for Automation Engineer and developers using Java and Kotlin

Read Article

REST Assured with plain/text response body

Upasana | July 23, 2020 | 2 min read | 1,654 views

REST assured does not configure Parser for text/plain type of response by default, so you must enable support for this manually.

Read Article

Disable SSL verification in Spring WebClient

Upasana | July 23, 2020 | 2 min read | 2,856 views | Spring Boot 2

We can use an insecure TrustManagerFactory that trusts all X.509 certificates without any verification. This will allow any https certificate (self-signed, expired, etc) with WebClient communication.

Read Article

SQL to find nth highest salary

Upasana | July 23, 2020 | 1 min read | 532 views

Each row of Employee needs to be compared to every other row based on salary to figure out the nth highest record, thus the Time Complexity of this operation would be quite high

Read Article

JUnit 5 Parameterized Tests

Upasana | July 22, 2020 | 3 min read | 635 views | java junit

JUnit 5 Jupiter Parameterized tests using different data source providers such as CsvSource, CsvFileSource, MethodSource, EnumSource and ValueSource etc.

Read Article

Difference between JDK JRE and JVM

Upasana | July 22, 2020 | 1 min read | 557 views

Java Development Kit, Java Runtime Environment and Java Virtual Machine are three different terms that are key to a Java Development.

Read Article

Permanent swap space in Ubuntu

Upasana | July 21, 2020 | 2 min read | 42 views

In this article, we will add file system based additional memory to Ubuntu 20, 1804 LTS operating system using swap file.

Read Article