HTML
Disclosure: This article may contain affiliate links. When you purchase, we may earn a commission.

Difference between Hibernate, JPA, MyBatis

Hello guys, if you are wondering what is difference between Hibernate, JPA, and MyBatis in Java world and when to use them then you have come to the right place. Earlier, I have shared Hibernate Courses, books, and Interview Questions and in this article, I will answer this popular Hibernate question from Java developer's perspective.  This article aims to give a brief overview of Hibernate, JPA, and MyBatis. Moving ahead highlights the difference between them. It also put light on which underlying technologies they use. Lastly, it provides verdicts on when to use which one among these. But, before we start with the difference between JPA, Hibernate, and MyBatis. It is important to have an understanding of these technologies first.

How to access a value defined in the application.properties file in Spring Boot? Example Tutorial

Hello guys, if you are wondering how to access a value defined in your spring application configuration file then you are not alone, many Java developer face the same challenge. How to access a value defined in the application.properties file in Spring Boot is a common question that arises when you dealing with large software applications. In software applications, you need to have different environments for the QA, production, and local. So as a solution for this, you can use different configurations and update the files separately without affecting other environments by using property files.

How to test a Spring Boot application in Java? @SpringBootTest Example

Hello guys, if you are wondering how to test your Java + Spring Boot application then you are at the right place. Earlier, I have shared best Spring Boot Courses and Spring Boot + Microservice example and in this article, I will talk about how to test your Spring boot application, mainly about writing unit test and integration test for Java and Spring boot application. Unit testing and Integration testing are two skills which separates a normal developer from a professional Java developer and when it comes to testing Spring applications many Java developer doesn't really know how to do that. If you are new to Java and Spring development but keen to learn Unit testing both Java and Spring Boot application then you have come to the right place.

Difference between @Component, @Controller, @Service, and @Repository in Spring

Hello guys if you are wondering what is the difference between @Component, @Controller@Service, and @Reposistory annotation in Spring Framework then you have come to the right place. In the past, I have shared 15 Spring Boot Interview Questions and 30 Spring MVC questions and in this article, I am going to answer the fundamental and popular Spring questions about @Component, @Controller@Service, and @Repository annotation, but before we go into differences, let's understand the similarity first.

5 Best Python Tutorials For Beginners in 2023

Hello guys, if you want to learn Python programming language in 2023 and looking for best online resources like tutorials, courses, books, projects and websites then you have come to the right place. Earlier, I have shared best Python courses, both free and paid, as well as best Python books, projects, and even Python interview questions for job interviews and today, I Am going to share best Python tutorials for beginners in 2023. We all know that a computer can work without a system or program to tell them what to do, which means you need to learn a language to program it and how it works. There are a lot of languages to learn, but python is one of the high-level and easy to learn and start. This post will help you get the best resource to get started using the python language.

How to use Spliterator in Java 8 - Example Tutorial

Hello friends, we are here today again on the journey of Java. And today, we are gonna learn about SplitIterator class from Stream package that may not be used in your day-to-day life but can be very useful to know as Java internally does use this with both normal streams and parallel streamsAs always, let’s take an example of a situation. I will present you with a situation and you guys can think about it. So, let’s say we have an array with 50k records in it. Now, these all records need to be modified, let’s say they are strings and we need to append the string with a name. Now, traversing the array sequentially would be time-consuming. Any innovative ideas my friends?

10 Examples of Collectors + Stream in Java 8 - groupingBy(), toList(), toMap()

As the name suggests, the Collectors class is used to collect elements of a Stream into Collection. It acts as a bridge between Stream and Collection, and you can use it to convert a Stream into different types of collections like List, Set, Map in Java using Collectors' toList(), toSet(), and toMap() method. Btw, Collector is not just limited to collection stream pipeline results into various collection class, it even provides functionalities to join String, group by, partition by, and several other reduction operators to return a meaningful result. It's often used along with the collect() method of Stream class which accepts Collectors. In this article, you will learn how to effectively use java.util.stream.Collectors in Java by following some hands-on examples.

How to log SQL Statements in Spring Boot Application? Example Tutorial

Hello guys if you are working on a Spring Boot application which loads and save data from database but you are not sure which queries are run on backend and you want to see them then you have come to the right place. Earlier, I have showed you how to set logging level in Spring Boot and In this article we are going to have a look at another very interesting topic from Spring Boot on how to log SQL statements in spring boot app. I know you might be wondering why I’m calling a very boring topic an interesting one? A proper logging is among one of the features that sets intermediate or experienced developers apart from beginners. 

6 React.js Performance Tips Every Web Developer Should Learn

Hello guys, if you are working in a React.js application and looking for best tips to improve performance of your react application then you have come to the right place. Performance is one of the biggest reasons why React.js has gained immense popularity in the last five years. React uses virtual DOM to boost performance. Though React does what it has to do to increase the performance behind the scenes, the developer has to ensure a top-quality user experience. In this article, we will discuss some of the ways which can be used to optimize the performance of a React application.