How to work with Apache Kafka in Spring Boot? Apache Kafka java Spring Boot by devs5003 - April 17, 2024November 14, 202510 Now-a-days, many modern systems require data to be processed for the targeted purpose as soon as it becomes available. For example, as a developer, if we talk about a Logging or Monitoring system, we often require the data as soon as a problem occurs. In a nutshell, there is a high requirement of faster & robust data delivery. Here, Apache Kafka can be a good option to solve our purpose. In a single line, Apache Kafka acts as a mediator to transmit data between applications that generate data and applications that consume data. Needless to say, we are going to discuss about 'How to work with Apache Kafka in Spring Boot?' here in this topic. If you want to know the
Java 17 Features Core Java java Java 17 jdk 17 by devs5003 - April 13, 2024November 14, 20252 Undoubtedly, the demand of Java 17 features became crucial after the release of Spring Boot 3.0. Needless to say, the use of Java 17 has become mandatory since Spring Boot 3.0. It also means that every Java developer should be aware of the new changes introduced in Java 17. Java 17 comes with several new features and enhancements that aim to improve developer productivity and program efficiency. In this article, we will explore some of the most significant Java 17 features, with code examples to help you understand how to use them effectively. Java 17 is an LTS (Long-term support) release of the Java programming language. As it is an LTS version, it will receive prolonged support and security updates for
Profiles In Spring Boot java Spring Spring Boot by devs5003 - April 10, 2024April 7, 20264 When we work on a real time project, we maintain multiple environment for the same project. This happens because we use different infrastructures for different stages of the project. There are different useful environments that we maintain before making the project go live, such as: development (DEV), test, user acceptance testing (UAT), production (PROD). These environments are not fixed at all. Some projects may have some more environments or even sometimes less also. It totally depends on the decisions made by stakeholders involved in the specific project and its requirements. Spring Framework offers us to maintain a separate profile for each environment in order to switch over the environments with a minimal effort. Hence, our topic of discussion is 'Profiles In
Entity Relationship in JPA/Hibernate/ORM java Entity Relationship Hibernate Spring Data JPA by devs5003 - April 8, 2024December 1, 20250 Needless to say, ORM (Object Relational Mapping) concept has made the developers life easier. Developers don't need to do much work in order to map two tables in the database. If we need to maintain a relationship between two tables, utilization of an annotation in our entity/class is more than sufficient. Further, we don't need to design the DB tables. However, developers need to have a better understanding of the usage of the annotations that create a relationship between two tables. Here in this article 'Entity Relationship in JPA/Hibernate/ORM', we will discuss about the different types of relations between tables that are relevant in ORM concept. Let's start discussing our topic ‘Entity Relationship in JPA/Hibernate/ORM’ and its related concepts. Some of the
Java 8 Coding Interview Questions Core Java Interview java by devs5003 - April 4, 2024May 1, 20255 In this article, We will discuss about Java 8 Coding Interview Questions and their Answers. Moreover, we will try to provide multiple approaches to solve a coding problem. Additionally, related concepts to a particular coding problem will also be discussed. Our primary focus of this article is to provide all important Java 8 Coding Interview Questions and their Answers. However, for theoretical questions & answers of Java 8 Interview, kindly visit our other article 'Java 8 Concept Based Interview Questions & Answers. Java 8 Coding Interview Questions In the subsequent sections of this article, we will discuss the important coding questions using Java 8 or higher versions. If you want to go through detailed tutorial on Java 8 Features, you may visit
Java 22 New Features With Examples Core Java java Java 22 by devs5003 - March 31, 2024September 27, 20240 Java Development Kit 22, the next version of Java Standard Edition, is now available as a production release on March 19, 2024. Java 22 comes with 12 significant features including seven preview features and one incubator feature. 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 22 new features with examples. Java 22 New Features With Examples Let's start going through Java 22 New Features with examples one by one. Unnamed Variables & Patterns (JEP 456) This was introduced in Java 21 as a preview feature under the name "Unnamed Patterns and Variables", and now it is finalized in Java22 as "Unnamed Variables & Patterns" without any changes. Many a
Method Reference in Java 8 [::] Java 8 Core Java java by devs5003 - March 20, 2024April 7, 20266 Method Reference is a wonderful feature introduced in Java 8. Apart from taking advantage of functional programming, one of the biggest advantages in using a Lambda expression is to minimize the lines of code. Similarly, Method Reference in Java 8 [::] also minimizes lines of code even more than Lambda. However, we use both of them in the presence of functional interfaces only. Moreover, It is also a concise and simpler form of lambda expression. In this article, we will also learn how to change a Lambda expression into a method reference. Let's start discussing about 'Method Reference in Java 8 [::]' and it's related concepts.​ What is Method Reference(::)? As we have seen in Lambda expression topic that we use lambda expressions
Top 10 Tools to Help Remote Developer Teams Work Efficiently Developer Tools java by devs5003 - March 19, 2024February 2, 20261 Studies have shown that teams that work from home tend to be more productive than teams that work in an office. A survey showed that 77% of workers were more effective when they could work from home. Even though there are benefits to working from home, problems can still make distributed teams less effective. One problem is getting developers working in different time zones together. This can be a logistical nightmare. But with the right tools and platforms, remote developer teams can work together well and get the most out of being able to work from home. We will discuss the top 10 Tools to help remote developer teams work efficiently. What is Remote Working? Remote or telecommuting or teleworking is an arrangement where employees can
How to implement Spring Boot Thymeleaf Security Login Example? Spring Boot java Spring by shwetas8536 - March 17, 2024November 18, 202528 In continuation to previous article on two different ways of implementing Spring Security, here in this article we will learn the third way 'How to implement Spring Boot Thymeleaf Security Login Example using UserDetailsService?'. After going through the previous article, I hope we all are very familiar with basics of Security and even the basics of Security in a Spring Boot application. This time we will create a user registration form and save users with their roles into database. Then, based on the user role, we will check the authentication and authorization functionalities with the help of predefined UserDetailsService. If you are looking for 'How to implement Security in Spring Boot using UserDetailsService with Spring Boot 3 onward?, kindly visit a
How to implement JWT Authentication in Spring Boot Project? Spring Boot java Spring Spring Boot 3 Spring Security by shwetas8536 - March 15, 2024November 18, 202512 No one can deny from the fact that Security is a vital feature of a production ready application. Although we can secure one web application using In-memory authentication, JDBC Authentication or via UserDetailsService. But when one application uses the services of other application internally, then implementation of security with webservices concept becomes important. In this situation we secure our application using a token which has a particular period of validity. In this article, we are going to learn 'How to implement JWT Authentication in Spring Boot Project?' to understand the concept behind JWT(JSON Web Token) Authentication as a whole. As JWT stands for 'JSON Web Token', it is clear that the token holds the data in the form of JSON only. Moreover,