After knowing about 'What is Spring Boot?' in detail in a separate article, it's time to talk about the features of Spring Boot. Needless to say, Spring Boot is full of features, that's why it is being used in the majority of Java projects now-a-days. In this article, we are going to discuss Spring Boot Features in detail. If you are attending any interview of Java/Spring Boot, there are high chances that you may be asked to tell some important features of Spring Boot. Spring-Boot comes with a lot of handy features that make the developer's life easier. Below are some of the important Spring Boot Features. CommandLineRunner CommandLineRunner is a very handy Spring Boot Features while testing a functionality just like the thread's
Java Design Patterns
If you want to learn 'Java Design Patterns' in less time without missing any concept, you are at the right place. Moreover, if you want to appear in a Java interview, go through this article once. Additionally, If you want to have a quick revision of your concepts on Java Design Patterns which you had learnt a log time before, then also you are at the right place. However, if you are looking for one liner definition of each Design Pattern to memorize them, then also you are at the right place. Then, visit the last section of this article (Design Pattern's Cheat Sheet). In this article, we will discuss about all GoF (Gang of Four) design patterns. The 23 design
Apache Excel POI Utils : A Java Excel API
Apache Excel POI Utils : A Java Excel API (No need to create row or cell each time) What is Apache POI ? Why is it so popular to utilize? Apache POI is an open source Java API. It allows developers to create, modify, and display MS Office files using Java programs. Also, Apache POI is developed by Apache Software Foundation to operate on Microsoft Office files as a Java program. Furthermore, It is the most popular API and up to date to work with newer versions of MS Office files. On the other hand, some other available APIs are JEXCEL, JXLS, FILLO, APACHE COMMONS CSV etc. However, Apache POI provides stream-based processing which is suitable for large files & requires less memory.
How to export data into PDF in a Spring Boot MVC Application?
Nobody can deny from the fact that data is everything for an application. If there is no data, no need of an application. Since data is everything for an application, we need to know each & every way where & how we can import/export data. Many a time, almost every client needs the data in the form of text reports. When we talk about reports in a web application from the front-end, two popular reports come into mind: Excel Report, and the PDF report. Spring Boot has an integration with Excel & PDF and offers us an API to create such type of reports easily. In this article, we are going to learn about 'How to export data into PDF
Entity Relationship in JPA/Hibernate/ORM
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
How to export data into Excel in a Spring Boot MVC Application?
Needless to mention, data is everything for an application. If there is no data, no need of an application. Since data is everything for an application, we need to know each & every way where & how we can import/export data. Many a time, almost every client needs the data in the form of text reports. When we talk about reports in a web application from front-end, two popular reports come into mind: Excel Report, and the PDF report. Spring Boot has an integration with Excel & PDF and offers us an API to create such type of reports easily. In this article, we are going to learn about 'How to export data into Excel in a Spring Boot MVC
Spring Boot MVC CRUD Example
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, 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. Hence our article title is 'Spring Boot MVC CRUD Example'. In this article, we will make use of Thymeleaf, Bootstrap
Stream API in Java 8
Data Processing is the dominant part of a Software Application. As a developer, we can't think of developing an application without data processing logics. However, almost every Java Application uses Collections API to store and process data. Using Collections API, it is not so easy to write the codes for even some common data processing operations such as filtering, sorting, matching, finding, mapping etc. That's why Java API designers have come up with Stream API in Java 8 to implement more complex data processing logics with the least number of lines of code. So, in this article, we are going to learn Stream API in Java 8 and how to work with the complex data processing operations in an easy
How to add JDK 17 support in Eclipse 2021-09 ?
Eclipse not recognising Java-17, How to add JDK 17 support in Eclipse 2021-09 ?, jdk17 IDE , jdk17 eclipse, eclipse jdk17, eclipse java 17, java 17 eclipse, eclipse java 17 support, eclipse for java 17, JDK 17 support in Eclipse 2021-09 - java Oracle has released JDK 17 in September, 2021 and it's general availability date is 2021/09/14. Java Development Kit (JDK) 17 will be a long-term-support (LTS) release, with extended support from Oracle expected for several years. Every Java Professional should be curious to know what is new in Java 17. But, how will we test the new features of Java 17 practically in the early days? However, we have a good news for Eclipse users. In this article, we
Spring Boot Redis CRUD Example
As a Java developer, if we talk about data layer, we can’t develop an insightful application without the use of CRUD Operations. We might have developed CRUD operations multiple times using a relational database such as My SQL, SQL Server, Oracle etc. However, this time we are going to use a NoSQL Database which is different than a relational database. Here, we will use the Redis database to implement CRUD operations using Spring Boot. Hence, our article for the discussion is 'Spring Boot Redis CRUD Example'. Traditionally, we use a relational database to work with an application. Of course, A relational database is a structured database and contains multiple tables to maintain meaningful relations between them. Additionally, it uses SQL like