What is JavaDoc tool? How to use JavaDoc?

The JavaDoc tool is a document generator tool that is used to generate standard documentation in HTML format. JavaDoc comes along with the Java Development Kit (JDK) and generates the API documentation for Java codes and provides information about classes, methods, fields, parameters and other elements of the Java codes. Syntax for JavaDoc | JavaDoc… Read More »

What is Content Provider in Android?

In Android, a content provider is a component that manages access to a central repository of data. It is a part of Android app architecture that allows the Android apps to share data securely between different apps. The data can be stored in a file system, in an SQLite database, on the web, or in… Read More »

Apache Kafka Tutorial | Introduction to Apache Kafka

What is Apache Kafka? Apache Kafka is an open-source distributed event streaming platform that is designed for high-throughput, fault-tolerant, and scalable real-time data streaming and processing. In other words, it is like a communication system that helps different parts of computer systems exchange data and information using the publish-subscribe model. In the above picture, we… Read More »

Jenkins – Introduction to CI/CD and Jenkins?

Jenkins is an open-source automation server that is used for continuous integration and continuous deployment (CI/CD) for software development processes such as code building, testing, and deploying. Jenkins has hundreds of plugins that help automate software building and deployment. Jenkins is a server-based automation tool that runs in servlet containers such as Apache Tomcat. It… Read More »

Controller vs RestController in Spring Boot

The Controller and RestController in the Spring framework are both used to handle the HTTP requests, but they have a difference in their intended use and their behaviour. Difference between Controller and RestController Controller RestController The controller in Spring typically handles the traditional web requests and produces the HTML views. RestContoller is specifically designed to… Read More »

@Qualifier annotation in Spring

The @Qualifier annotation in the Spring framework is used along with the @Autowired annotation. When we have two or more beans of the same type, in order to distinguish between them as to which bean should be injected, we use the @Qualifier annotation. @Qualifier annotation in Spring Boot Example Let’s understand this with an example.… Read More »

Java Memory Leak | What is memory leak in Java?

In Java, when the garbage collector fails to collect some unused objects that are still being referenced internally due to the developer’s mistake, this is called a memory leak. It becomes critical overtime; heap memory may keep growing and lead to application out of memory errors. Causes of memory leak in Java There are several… Read More »