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
Java Excel Apis To Read Excel File In Java Using Poiji API Spring Boot Excel java poiji by devs5003 - August 17, 2024August 20, 20242 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 15, 20240 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, 2024August 10, 20245 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, 2024August 3, 20240 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, 2024July 30, 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