Spring Boot Annotations With Examples Spring Boot java Spring by devs5003 - October 7, 2024October 9, 20245 Prior to Annotations, the Spring Framework's configuration was largely dependent on XMLs. Using XML configurations was not only a tedious process, but also an error-prone. If you committed any syntactical mistake in XML, sometimes it takes time to fix. But now-a-days annotations, particularly Spring Boot Annotations provide us remarkable capabilities in configuring Spring Framework's behavior. Moreover, Annotations caused major changes in programming style and slowly making the XML-based configurations outdated. The Java Programming introduced support for Annotations from JDK 1.5. However Spring Framework started supporting annotations from the release 2.5. Obviously, we are going to discuss about Spring Boot Annotations With Examples and their usages. Here in this article on 'Spring Boot Annotations With Examples', we will discuss about all annotations
Java 23 New Features With Examples Core Java java Java 23 by devs5003 - October 2, 2024October 8, 20241 Java Development Kit 23, the next version of Java Standard Edition, is now available as a production release on September 17, 2024. Java 23 comes with various new features, some preview features, incubator feature, deprecation & deletions. It is inclined to improve developer productivity and program efficiency. In this article, we will explore some of the most essential developer’s friendly Java 23 new features with examples. Java 23 New Features With Examples Let's start going through Java 23 New Features with examples one by one. Primitive Types in Patterns, instanceof, and switch (Preview) – JEP 455 This is a preview language feature. Till Java 22, instanceof cannot be used with primitive data types at all. We can explicitly enable preview features in the javac command
Spring Boot MongoDB Query Examples MongoDB java Spring Boot by devs5003 - September 28, 2024September 30, 20240 Spring Boot MongoDB @Query Examples, Spring Data MongoDB Queries, @Query Annotation in Spring Boot MongoDB, Spring Boot MongoDB Query Examples, Spring Data MongoDB Queries, @Query mongodb spring boot example, mongodb queries, spring mongodb, @query mongodb spring, @query in spring boot mongodb, spring boot mongodb query like, mongodb spring boot custom query In previous article 'Spring Boot MongoDB CRUD Example', we have already covered the 'How to write CRUD operations using Spring Boot & MongoDB'. Further, in this article we will learn 'How to develop queries using Spring Boot & MongoDB'. However, if we extend our custom Repository interface from MongoRepository<T, ID>, we can at least develop CRUD operations without adding any method in our custom Repository. But sometimes, we need complex
MCQ on SOLID Principles Practice Test Core Java Design Principles java by devs5003 - September 23, 2024September 24, 20240 One of the best ways to become an expert in any subject is by practicing it in a regular interval. There are many ways to practice the subject. It totally depends on you. In my opinion, solving the practice test is the most prominent way to refresh your concept without going through the theory & concepts again. When you start solving the practice test, all your old concepts gets recalled. In this article, we will explore SOLID Principles Practice Test in the form of MCQs, including a mix of concept-based, code-based, and scenario-based questions. After each question, we will go over the explanation for why each option is right or wrong. Don’t overlook the incorrect options, as they might recap other
How to install and download Cassandra DB on Windows? Cassandra java by devs5003 - September 17, 2024September 27, 20240 In this article, we are going to learn 'How to install and download Cassandra DB on Windows?' in simple steps. The Installation process of Cassandra DB is a bit tricky as compared to other database software. Needless to mention, Cassandra is a NoSQL DB and it is known for high performance. How to install Cassandra DB on Windows? We will discuss about 'How to install Cassandra DB on Windows?' in our local system here in this section. There are three mandatory software that we should have in our system in order to take complete benefit of the Cassandra DB. These are: 1) JDK 8+ 2) Python 2.7+ 3) Apache Cassandra 3+ Before the download Cassandra, please make sure that JDK and Python should be installed in
Java Microservices MCQs Practice Test java MCQ Microservices by devs5003 - September 11, 2024September 17, 20240 Solving Practice test plays a crucial role in becoming expert in any technology. It helps in thorough revision of the subject and make the concept crystal clear. Here in this article, we will focus on Java Microservices MCQs Practice Test with a variety of questions such as concept-based, code-based, and scenario-based. At the end of each question, we will explore the explanation of each option whether it is correct or incorrect. In fact, we should also pay attention on the incorrect option as it can have another useful concept. Java Microservices MCQs Practice Test Q#1: (Scenario-Based Question, Multi-Select) Your team is adopting a microservices architecture for a new application. Which of the following principles should you follow to effectively implement microservices? A) Each
Top 10 Front-End Web Development Projects Ideas Front-end java JavaScript by devs5003 - September 1, 2024September 2, 20240 Top 10 Front-End Web Development Projects Ideas Even if you are a server side Java developer, you are expected to have knowledge of basic front-end technologies such as HTML, CSS and JavaScript. If you develop a simple MVC application using frameworks such as Spring Boot, you need to have a good hold on these technologies to apply on front-end/UI/view part. The best approach to learn them is by implementing some basic projects using these technologies. In this article, we will explore the Front-End Web Development Projects Ideas that can build up your knowledge of HTML, CSS and JavaScript. Whether you’re just starting or looking to level up your expertise, working on real-world projects can provide invaluable hands-on experience. We will explore 10 important
Default Method in Interface Java 8 Core Java java by devs5003 - August 27, 2024August 29, 20240 As we are aware that till JDK 7 we couldn't include implemented method inside an interface. In other words, there was no provision to have a method body inside a method of an Interface. But for those who are reading Default Methods for the first time it will be very surprising. The surprise is that we can now include an implemented method inside an Interface. Therefore, we can also have an implemented method inside an interface. Here, we are talking about default method in interface. The most use of default method in interface is to provide additional functionality to a given type without breaking down the existing implemented classes. In this article, we are going to take a deeper look on
Static Methods In Interface Java 8 Core Java java by devs5003 - August 26, 2024August 29, 20241 Before learning the Static Methods in Interface let's go back to JDK 7 and older versions, and memorize the scope of a static method. We will come to a conclusion that Static Methods could be defined in a class, abstract class, final class but not in an interface. However, from JDK 8 onward, we can define Static Methods in Interface as well. Now you might have one question 'What is the need of defining Static methods in Interface?'. Wait for a couple of minutes, you will get to know each & every concept behind it. In this article we will have a closer look on the 'Static Methods in Interface'. Furthermore, we will also talk about main() method as the main()
How to Extract Text from Image Using Java? Core Java java by devs5003 - August 18, 2024August 21, 20241 Many a times we come across a requirement when we need to extract text from image. This process is also known as Optical Character Recognition (OCR). OCR is extensively useful in various use cases, such as converting physical documents into digital formats to make them searchable and editable, automating data entry processes to minimize errors, extracting information from checks in banking institutions, digitizing patient records in the healthcare industry, converting case files into digital formats in the legal department, digitizing textbooks, extracting information from invoices, receipts, and many more. This article will focus on How to Extract Text from Image Using Java?. Although there are many online image-to-text converter tools are introduced that can extract text from image automatically, but knowing