In this article, we will discuss the Topological sort Java algorithm. We will start with graphs, some common types, and to store graphs. 1. Graph and common types A graph is a non-linear data structure consisting of a finite set of Vertices (also called nodes) connected by Edges. Fig 1. A sample Graph with vertices and edges In the above ...
Read More »Printstream Java Example
This article is a quick introduction to the Printstream Java class available as part of Java ecosystem. 1. Introduction Stream refers to data essentially bytes at lowest level. To read and process data from a source, the data needs to be saved. Outputstream is the means to save the data to a sink. Outputstream is the superclass of all classes ...
Read More »Apache Spark Installation Guide
In this post, we feature a comprehensive Apache Spark Installation Guide. 1. Introduction Apache Spark is an open-source cluster computing framework with in-memory data processing engine. It provides API in Java, Scala, R, and Python. Apache Spark works with HDFS and can be up to 100 times faster than Hadoop Map-Reduce. It also supports other high-level tools like Spark-SQL for ...
Read More »What is Spring Framework
In this article, we are going to explain what is Java Spring framework. We are going to learn about architecture, core features, different modules, and feature additions from Spring 5. The Spring Framework is an open-source, lightweight application framework and Inversion of Control container for the Java platform. The first version of the Spring Framework was released in 2003. The ...
Read More »Apache CXF Web Service Example
In this article, we will implement an Apache CXF Web service example. Webservices can be developed using SOAP and REST. SOAP refers to Simple Object Access Protocol. REST stands for Representational State Transfer. 1. Overview Roy Fielding was the first person to come up with the REST architecture proposal. In REST, a Resource is a Uniform Resource Identifier or URI. The ...
Read More »Liferay 7.2 MVC Portlet Development and Deployment
In this post, we feature a comprehensive article about Liferay 7.2 MVC Portlet, an open source content management system that is developed in Java. It provides web content management and many inbuilt modules like login, web content, calendar, polls, users and roles management. Integration with LDAP. In Liferay, we can develop any dynamic website fastly. Liferay is also providing staging ...
Read More »Java Text Blocks Example
In this article, we will discuss the Java Text Blocks. Text Blocks are available in multiple distributions of Java (Oracle, OpenJDK, etc) but we will cover mostly the one present in Oracle JDK. With text blocks, introduced in Oracle Java 13, it became easier for you to work with multiline string literals, without the need to escape the special characters ...
Read More »JasperReports with Spring Boot
Welcome readers, in this tutorial, we will show how to use JasperReports with spring boot framework. 1. Introduction Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as Tomcat, Jetty or ...
Read More »Finalize Java Example
In this post, we feature a comprehensive Finalize Java Example. This post will acquaint you with one of the important finalize method in java with its detailed explanation, usage and implementation along with example. As the name finalize method in java suggests, it is something used generally at the end to perform certain task. This was just a very generic ...
Read More »Java Tree Example
In this article, we will discuss the Java Tree Data structure. 1. Introduction Tree is a hierarchical data structure that stores the information naturally in the form of a hierarchy style. It is one of the most powerful and advanced data structures which is a non-linear compared to arrays, linked lists, stack, and queue. It represents the nodes connected by ...
Read More »