Learn Java and Programming through articles, code examples, and tutorials for developers of all levels.
Top 5 Spring Cloud Annotations for Java Microservices
Top 40 Java and Linux Interview Questions Answers for IT Support Engineers
How to Print SQL Statements in Spring Boot Application Log File? 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.
Difference between Scala, Kotlin Java Programming
Top 15 Spring Boot Interview Questions with Answers for Java/JEE Programmers
10 Examples of New HttpClient + HttpRequest + HttpResponse In Java 11 (REST Client]
How to setup Request timeout in Spring Boot REST API? Example Tutorial
Top 40 Core Java Interview Questions Answers from Telephonic Round [UPDATED]
Difference between Abstraction and Encapsulation in Java and Object Oriented Programming? [Answer]
Top 40 Binary Tree Coding Interview Questions for Programmers
Top 30 OOP (Object Oriented Programming) Interview Questions Answers in Java
Top 10 Object Oriented Programming Concepts Every Programmer Should Learn
Can You Override Private Method in Java? Inner Class?
Top 10 Projects You Can Build to Learn Web Development in 2023
Top 5 Projects You Can Build to learn Android App Development in 2023
Top 10 Projects You Can Build to Learn Java in 2023
How to Fix Consider defining a bean of type 'package' in your configuration [Solved]
Hello and welcome to another blog post. Today we are going to take a look at one of the most frequently appearing errors in the Spring Boot application. I’m sure most of us have faced a similar issue while working with the Spring Boot application, and the error is ‘consider defining a bean of type package in your configuration’. In general, The error "Consider defining a bean of type 'package' in your configuration" occurs when Spring Boot is unable to find a bean of a specific type that is required by your application. In this article, we will take an in-depth look at why this error appears in the first place. Moving ahead we will learn how to fix this issue. So without further ado let’s jump into it.
How to use Spring Boot and Thymyleaf in Java Web Application? Example Tutorial
Java + Spring Boot + Microservices Example - Step by Step Guide
Asynchronous Messaging In Java? JMS, Kafka, and RabbitMQ Examples Tutorials
Top 5 Object Oriented Analysis and Design Interview Questions for Programmers, Software Engineers
Aggregator Design Pattern In Java Microservices with Examples
What is Event Sourcing Design Pattern in Java Microservices? Example
Hello Java programmers, if you are tired of constantly trying to keep track of your application's current state using a traditional relational database then the Event Sourcing pattern might be just what you need. Event Sourcing is a popular pattern in Microservice architecture that allows services to persist and query the state of an application using a sequence of events instead of storing the current state. This pattern has gained popularity because it helps to build complex systems with a clear audit trail and support for long-term scalability. By storing a sequence of events, rather than just the latest state, developers can reconstruct the application state at any point in time, even after failures or bugs. It's also one of the 10 essential Microservice patterns I have shared earlier and it's one of the top 3 along with Saga and CQRS patterns which we have seen in my earlier articles.
What is CQRS Pattern in Java Microservices? Command Query Responsibility Segregation Example Tutorial
Hello guys, if you are wondering what is CQRS pattern and when and how to use it in your Microservices then you have come to the right place. CQRS is one of the 10 essential Microservice pattern and can be used when your application is either read heavy or write heavy and reading and writing requirement are very different. It aims to separate your app into two parts, command part which writes data and query part which read data and that's how it allows you to develop, scale and optimize them separately. It's also one of the popular Microservices Questions and if you are preparing for interviews, you should prepare this pattern as well. Earlier, I have explained SAGA Pattern and Database Per Microservice pattern and in this article I will explain CQRS pattern, when to use it and what problem does it solve.
SAGA Design Pattern In Java Microservices with Example
Hello guys, if you want to learn about SAGA Microservice design pattern then you have come to the right place. SAGA is one of the 10 essential Microservice Design Patterns I have shared earlier and it solve a critical problem related to distributed transaction. But, before we get to the different examples that will teach you all about SAGA microservice design patterns in Java, let me tell you a bit more about what it really is. A microservice-based application is basically a distributed system. The overall system consists of multiple minor services, which provide the overall application functionality. This architectural style offers numerous benefits as well as several limitations. SAGA Pattern is also one of the popular Microservice interview question and if you are going for interview, it make sense to learn and understand this design pattern in depth.
Top 15 Microservices Interview Questions with Answers for Java Developers
Top 5 Free Courses to Learn Microservices for Java Developers in 2023 - Best of Lot
Hello Java programmers, if you want to learn Microservice architecture and look for free Microservice resources like free online courses, you have come to the right place. Earlier, I have shared the best Microservice courses for Java programmers to build Microservice using Java and the Spring framework, and today, I will share some free courses to learn Microservice in Java using Spring Boot and the Spring Cloud framework. If you don't know, Microservices is a modern architecture that goes along nicely with cloud computing and makes deployment, scaling, and even development easier.
Top 6 Online Courses to Learn Microservices with Java and Spring Boot in 2023 - Best of Lot
10 Examples of RestTemplate class in Spring Framework
What is ContextLoaderListener in Spring MVC? Example Tutorial
How to access configuration values from 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 enable HTTP Caching in Java Web application with Spring MVC? Cache-Control Header Example
What is @Conditional annotation in Spring Framework? Example Tutorial
What is @PropertySource Annotation in Java and Spring? PropertySource Example Spring Boot
How to call REST API an send HTTP GET and POST Request using cURL command in Linux? Example Tutorial
How @Configuration, @Component, and @ComponentScan annotations works in Spring Framework? Component Scanning Example
Top 6 DevOps Online Courses for Experienced Developers in 2023 - Best of Lot
Top 6 Online Courses to Learn Design Pattern in Java for Experienced Programmers in 2023 - Best of Lot
Top 5 Courses to Learn Quarkus for Java Microservices online in 2023 - Best of Lot
What is YAML? How to define List and Map in YAML? Example Tutorial
Top 20 Python Interview Questions and Answers for 1 to 2 Years Experienced
Hello guys, if you are preparing for Python developer interview and looking for common and frequently asked Python Interview Question then you have come to the right place. Earlier, I have shared best Python courses, books, and projects and today, I am going to share best Python Interview questions with answer to get you the Python developer job you always wanted. Understanding python is easy if you choose to. What is needed is more and more practice. In this article you will find the questions that are frequently asked during python interviews. You have to take your time and go through the questions with answers and you will be more than prepared as far as python interview is concerned.
Top 20 Kubernetes Interview Questions Answers for 1 to 3 Years Experienced
Top 15 HTML5 Interview Questions with Answers for 1 to 2 years Experienced
Top 27 Dynamic Programming Interview Questions for Interviews
Top 25 Linked List Coding Interview Questions for Java Programmers
Top 5 Free Coursera Courses for SQL and Database in 2023 - Best of Lot [UPDATED]
Top 5 Free Big Data Courses to Learn Hadoop, Spark, and Kafka in 2023 - Best of Lot
5 Best Free Flutter Courses Online for Beginners in 2023 - Best of Lot
Top 10 Free Git Courses for Programmers and DevOps in 2023 - Best of Lot
Top 5 Hibernate and Spring Data JPA Online Courses in 2023 - Best of Lot
Hello Java programmers, if you want to learn Hibernate and Spring Data JPA, two of the leading persistence framework for enterprise Java development, and need the best resources like books, tutorials, and online courses then you have come to the right place. In the last article, I have shared the best Spring framework courses, and best Hibernate books, and today, I am going to share the best online courses to learn both Hibernate and Spring Data JPA in 2023. These are the top-quality courses from popular online learning platforms and sites like Udemy, Pluralsight, and Baeldung and are trusted by thousands of Java developers around the world to learn these essential frameworks for Java developers.
Top 5 Java Performance Courses for Experienced Developers to Learn in 2023 - Best of Lot
Top 20 Selenium Interview Questions Answers for Programmers and Automation Test Engineers
How to read files from the resources folder in Spring Boot? Example Tutorial
Hello everyone, welcome to the blog post. In this article, we are going to take a look at a frequently asked question in spring boot on how to read files from the resources folder. A resource is any file that contains information relevant to your project, including configuration files, picture files, data files, or other types of files. In this article, we will look at various methods and techniques that both spring boot and ordinary Java code allow us to read a file from the resources directory. Our goal is not simply to list these approaches; rather, we will describe each strategy with the help of an example so that, everyone can easily grasp the topic. Without further ado, let's get started.
Top 20 Advanced Java Questions on Anonymous Class, Nested Static and Inner Class for Interviews
Hello guys, static class and nested classes are one of the tricky topic to master in Java and that's why they are quite popular on Java Interviews. Not many Java developer knows about Anonymous class or how Lambda is compiled into Anonymous class by JVM etc. If you are going for Java Interview, I highly recommend you to prepare nested class topic well in Java. Just like in the past, I have shared many Java in-depth questions on different topics like Lambda Expression, Stream API, Generics, Collections, Multithreading, String, array, Design Patterns, OOP, Spring Framework, Hibernate etc,
Top 5 Free Courses to Learn Jenkins, Docker, DevOps, Maven, and Kubernetes in 2023 - Best of Lot
My Favorite Courses to learn React.js in Depth in 2023 - Best of Lot
Top 20 Data Analyst Interview Questions Answers for 1 to 3 Years Experienced
Top 5 Courses to learn Docker in Depth - Best of Lot
Hello Java programmer, if you want to learn Docker and looking for the best Docker Courses from Java and Spring Boot developer point of view, then you have come to the right place. Earlier, I shared free Spring Boot courses and Docker courses, and in this article, I will share the best Docker courses for Java and Spring developers. Java is one of the most popular and widely used programming languages. It is an evergreen programming language. For Java developers, Docker is a game-changer. Docker is emerging rapidly, and it's now one of the most essential tools for all kinds of programmers, and there are reasons for it like Docker makes both development and deployment easier.