Java 8 Features Java 8 Core Java java by devs5003 - August 20, 2024May 1, 20254 Java 8 was released by Oracle after 2 Years 7 Months 18 Days of release of java 7 on March 18th, 2014. However, after Java 1.5 version, Java 8 is the next major release version. Before Java 8, Sun community focused majorly on objects, but in Java 8 version, Oracle community has focused more on functional programming to bring its benefits to the Java language. However, it doesn’t mean that Java is a functional oriented programming language, but we should grasp it in a way that we can apply functional aspects of programming as well now with Java 8. It is a part of Java 8, as an object oriented programming. Here, we will discuss new Java 8 Features one by
How to Extract Text from Image Using Java? Core Java java by devs5003 - August 18, 2024November 15, 20251 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
Java Excel Apis To Read Excel File In Java Using Poiji API Spring Boot Excel java poiji by devs5003 - August 17, 2024January 18, 20252 Java Excel Apis to read excel file in Java using Poiji Almost every Java developer come across one of the most common requirements expected by the clients. The requirement is working with excel either to generate reports or to take input data from excel. As a java developer, we should be aware of the mapping between excel data & java objects. If we can have an API which can directly map excel cell to a field (property) of a java class, then it will become very easy to implement any kind of operation on excel. No surprise ! We have an API called Poiji(A Java Excel API). It is developed on top of very popular Apache POI just like Spring Boot on
Spring WebFlux CRUD Example java Spring Spring Boot Spring WebFlux by devs5003 - August 13, 2024August 20, 20250 All Java developers must have worked on traditional REST APIs at some point in their career. Other than the traditional approach of developing a REST API, now we have a new upgraded way of doing it. Reactive Programming as a new approach to working with REST APIs. Compared to traditional REST development, this approach is faster and offers for optimal resource utilization. In this article, we will work on the concepts of Spring WebFlux, which comes under the Reactive Programming model. Spring WebFlux is a reactive web framework built on top of Spring Framework 5, designed to handle the demands of modern web applications. Spring WebFlux provides a non-blocking and event-driven programming model that allows developers to build scalable and high-performance
Spring Boot MVC CRUD Example java MVC Spring Spring Boot by devs5003 - August 8, 2024April 7, 20267 When we develop a Web Application using Spring Boot, the knowledge of MVC pattern becomes important. Needless to say, the MVC is a short form of Model, View and the Controller. Moreover, the Spring Boot makes a developer's life easier in developing the web application using MVC architecture. Spring Boot offers us a starter project 'Spring web' to work with MVC applications. In this article 'Spring Boot MVC CRUD Example', we are going to learn entire CRUD operations that are mandatory to develop any MVC application. It will also provide you the knowledge of complete flow of MVC starting from user interface till the data layer. We will make use of Thymeleaf and Bootstrap for view part and MySQL for database.
Spring Security LDAP Authentication Example java Security Spring Spring Boot by devs5003 - August 1, 2024November 7, 20251 If you have ever implemented login feature in a production grade application, you must have heard about the LDAP authentication. LDAP can be used in any type of the hierarchical directory information. The most popular use of LDAP is to store an organizational data. A typical organization generally has directors, managers, supervisors and other positions. In other words, these are the hierarchical data where LDAP mechanism is perfect to implement. In this way, most of the organizations use it to maintain the organizational information including their credentials. We will discuss Spring Security LDAP Authentication Example in this article. In Spring based applications, LDAP is used to integrate with LDAP directories and perform various directory-related operations, such as user authentication and authorization.
Spring Cloud Essentials java Microservices Spring Boot Spring Cloud by devs5003 - July 27, 2024October 15, 20240 Whether you are a beginner or an experienced or trying to become a developer in the near future, you must have at least heard about the term Microservices. Undoubtedly, if you are working on it, you must have already had a good experience with it. Moreover, you must also have observed that the term 'Spring Cloud' comes in between while talking about Microservices. Do you know, why so? If you know it's good. If not, let's spare some time going through this article thoroughly. In this article, apart from knowing what is Spring Cloud, you will also get to know what are the features, capabilities and other fundamental concepts of Spring Cloud that are expected from a Microservices developer. Let's start
Hibernate MCQs With Answers Explained Hibernate java Java MCQ JPA MCQ Spring Data JPA by devs5003 - July 24, 2024December 15, 20241 As a Java developer, we should have a good handle on one of the frameworks used in the data layer. We are expected to have a good understanding of its basic concepts and implementation. Undoubtedly, Hibernate is one of the most popular ORM frameworks in this category. It is developed on top of JPA. In this article, we will refresh the Hibernate concepts in the form of Hibernate MCQs that are frequently asked in the interviews as well. Furthermore, you must also get benefitted in both either a written test or the interviews from these Hibernate MCQs. Here are the most important and foundation based multiple-choice questions (MCQs) on the topic “Hibernate MCQs With Answers Explained” including some code-based questions, with
How to implement AOP in Spring Boot Application? Spring Boot java Spring by shwetas8536 - July 3, 2024January 5, 20264 If you are developing an application in Spring or using Spring Boot, you must have come across the word 'AOP'. It stands for Aspect Oriented programming. Although AOP concept is a bit tough to understand, but undoubtedly it makes the developer's life easy. You will feel it more than easy once you complete this topic 'How to implement AOP in Spring Boot Application?'. In fact terminologies used in AOP concept by definition are very close to each other that makes it a bit tricky to understand effortlessly. However, we will understand all of them with suitable examples respectively. While developing an application you might have observed that there are certain lines of code which appear in every class unknowingly. What will
Java Microservices MCQ Questions & Answers Explained java MCQ Microservices by devs5003 - June 26, 2024November 13, 20251 If you are a Java developer, you are expected to have a good understanding of Microservices Concepts, both conceptual part & programming part as well. Undoubtedly, Microservices is the demanding programming pattern in the industry. Spring Boot & Spring Cloud support to develop Microservices based applications in Java. If you have a good hold on both, you will easily be able to work on it smoothly. In this article, we will refresh the Microservices concepts in the form of MCQs that are frequently asked in the interviews as well. Furthermore, you must also get benefitted in both either a written test or the interviews from these Java Microservices MCQs. Here are the most important and foundation based multiple-choice questions (MCQs) on