Home » Java » Core Java

Core Java

Java 9: Welcome to Module world

Java 9 has been released on September 21 officially, Eclipse is supporting Java 9 from  Eclipse Oxygen.1a (4.7.1a), Lets jump into module world..!!! Download Java 9 from here, and add it to Eclipse Installed JRE’s as below                   That’s it, we are good to write Java 9 module programs in Eclipse. Create ...

Read More »

Java Command-Line Interfaces (Part 24): MarkUtils-CLI

The first post in this series on parsing command line arguments in Java featured the Apache Commons CLI library. This is one of the oldest and likely one of the most commonly used of the Java-based command-line parsing libraries covered in this series. Apache Commons CLI does show its age, especially when contrasted with some of the more modern Java-based ...

Read More »

Java Command-Line Interfaces (Part 23): Rop

The Rop library is described on its main page as “a lightweight command line option parser written in Java.” The “Introduction” to Rop also states, “Rop is designed to be minimal meanwhile convenient, and to cover most usual command line parsing use cases.” This post is the twenty-third in this series on parsing command line arguments in Java and focuses ...

Read More »

Is Java Certification Worth It?

Gaining a certification in any profession always has its pros and cons, but it seems like in the world of technology there is even more turmoil. With such a demand for skilled tech workers, there are a number of routes into the industry including an academic certification approach and a more self-taught portfolio-based approach. But is Java certification worth pursuing ...

Read More »

Java Command-Line Interfaces (Part 22): argparser

John Lloyd‘s argparser is the library covered in this twenty-second post of the series on Java-based command line argument parsing. The main page for the library provides links to Javadoc-based API documentation, a JAR file, a ZIP file, and a TAR file in addition to a single source code example. The example used in this post is similar to the ...

Read More »

Streams vs. Decorators

The Streams API was introduced in Java 8, together with lambda expressions, just a few years ago. I, as a disciplined Java adept, tried to use this new feature in a few of my projects, for example here and here. I didn’t really like it and went back to good old decorators. Moreover, I created Cactoos, a library of decorators, to ...

Read More »

Experimenting with Java9 HTTP Client and Process API in JShell

This post continues my exploration of Java9 features from my My Top Java 9 Features blog post. Here we are experimenting with Java9 HTTP/2 Client and Process API in JShell HTTP/2 Client The HTTP/2 Client is an incubator project in Java9. This means the API isn’t finalized, so has some scope for change in future versions. The most obvious changes ...

Read More »

Java Command-Line Interfaces (Part 21): Airline 2

The focus of this twenty-first post in this series on parsing command-line arguments in Java is on the Airline 2 library. The GitHub project page for Airline 2 describes the library, “Airline is a Java library providing an annotation-based framework for parsing command line interfaces.” The page goes onto state that Airline “supports both simple single commands through to complex ...

Read More »