Java67
Learn Java and Programming through articles, code examples, and tutorials for developers of all levels.
Difference between Hibernate, JPA, MyBatis
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
Difference between @Component, @Controller, @Service, and @Repository in Spring
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 streams. As 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()
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.