Reading Time: 3 minutes The concept of JPMS i.e. Java Platform Module System came in Java 9. Its development was first started in 2005 and finally in 2017, this concept came under the project named Jigsaw. Until Java 8, we used jar files for packaging and bundling the application, but from Java 9 onward, we will be using modules for that. Modularity is the basic rule of good software Continue Reading
Reading Time: 3 minutes In the last blog, we learned a few updates in Process API of Java 9. In this blog, we will be learning some more new features which were not present until Java 8, so let’s begin. The new features are as follows: Process Handle : It is used to handle the processes like access current running process, access the parent/child of a particular process Process Continue Reading
Reading Time: 3 minutes Process API is a feature of Java which already exists until Java 8, but with the release of Java 9, there were a lot of new features which came up. Issue with Process API until Java 8 What if I want to develop a device driver software or Operating System? Interaction with system level component was not suitable until Java 8. The process communication with Continue Reading
Reading Time: 2 minutes We all have done I/O operations in our code which used to be very troublesome when it comes to always keep in mind closing the resources once the usage has been made. But, when in Java 7, Try-With-Resource was introduced, this limitation was taken care of. Now a user needs not to worry about the open resources. To understand what enhancements have been done in Continue Reading
Reading Time: 5 minutes With the introduction of Java 9, Java community has started to show its support directly towards Reactive streams, which was earlier used by leveraging third-party libraries. Please visit my earlier blog on Reactive streams to understand the basic ideologies which are working behind it like the push-pull model or backpressure. As a part of this blog, we will explore how we can leverage the same Continue Reading
Reading Time: 3 minutes Java Shell tool (JShell) has been introduced as a part of JAVA 9. It is a Read-Evaluate-Print Loop (REPL), which evaluates declarations, statements, and expressions as they are entered and immediately shows the results. The tool is run from the command line. In this blog, we will learn about this interactive tool that can be used for learning the Java programming language and prototyping Java Continue Reading
Reading Time: 2 minutes Today, I came across a problem and found a beautiful solution for it, which is pretty much straight forward, but the problem may occur to anyone while using the Lombok Library for java. So let’s look at the problem. The Problem I have a class Person, which consists of some fields. It is annotated with the @Builder annotation of lombok, so that lombok can generate Continue Reading
Reading Time: 3 minutes Hypertext Transfer Protocol (HTTP) is an application protocol that is, basically used as a request/response mechanism for data transformation. HTTP is based on the Client/Server model. Client/Server model can be explained as two computers, Client (receiver of service) and Server (provider of service) that are communicating via requests and responses. Talking about earlier HTTP which is currently, the foundation of data communication for the World Wide Web. WWW Continue Reading
Reading Time: 2 minutes StackWalker was introduced in JDK9 as Stack Walking API or JEP-259. StackWalker gives the snapshot of the stack trace of the current thread at any given point of time and has methods to walk over it. Now, we can easily filter out the information required, sort them and perform almost all the stream operations provided by Java.
Reading Time: 3 minutes A good programmer is always lazy when it comes to writing the code. They always try to complete their functionality in minimum lines of code. The same thing is expected by them when it comes to debugging or learning new features. In order to fulfill this requirement, almost every programming language has a REPL, a tool which has proved to be of great importance, especially for Continue Reading
Reading Time: 4 minutes Java Platform Modular System is commonly known as JPMS. The concept of JPMS i.e. Java Platform Module System came in Java 9. Its development was first started in 2005 and finally in 2017, this concept came under the project named Jigsaw. Until Java 8, we used jar files, but from Java 9 onwards, we will be using modules. Modularity is the basic rule of good Continue Reading
Reading Time: 2 minutes Having trouble in keeping multiple versions of Java in your single system? You have approached at the right place for seeking the solution. In this blog, we will learn how to keep multiple versions of java in your system and how to switch between them as per your convenience. Before moving forward, let’s have a basic understanding of what is SDKMAN?