Ahead Of Time Compilation – Java 9

One of the main goals while designing the Java language was to make application portability a reality. Java was designed in such a way that the same .class files created in one operating system can run seamlessly in another operating system or another computer without fail as long as the target system has a working … Read more

Secure REST Service – Basic authentication

In this tutorial, we will learn how to secure a Jersey based REST server implementation using Basic Authentication. As we have already discussed various ways of securing a REST Service, here we look in detail at Basic Authentication. REST Basic Authentication Tutorial In Basic Authentication, the client will send user credentials every time data is … Read more

Secure a REST Service

When we develop REST APIs for our application to enable integration with other applications, often we would want to secure the interface. This is done for a variety of reasons. We would like to prevent sniffing of data on the network by unauthorized people. We may want to categorize each user using user role and … Read more

Compact Strings In Java 9

In any of the Java applications Strings are used extensively. I can’t remember a single application where I have not used Strings. So any optimization on String would affect almost each and every Java application. So it would be important to know what Java 9 is bringing in with String optimizations. Java 9 is coming … Read more

JShell – Explore the Java 9 interpreter

JShell is a new interactive command line tool for accessing the Java language. It is introduced in Java 9. Working with JShell is similar to using the python interpreter via commandline. These tools can be collectively called as REPL (Read-Eval-Print-Loop) because they take inputs, evaluate and returns output to the user via command line. You … Read more

Introduction to REST

Sir Tim Berners-Lee invented the World Wide Web in 1989. In the past three decades, the Web has evolved a lot, and most of the Millennials and Post-Millennials see it as an intricate part of their daily life. Ever wondered how the world wide web became so successful? Why has the Internet become so viral? … Read more