Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

 

Java Command-Line Interfaces (Part 10): picocli

The main picocli page describes picocli as “a mighty tiny command line interface” that “is a one-file Java framework for parsing command line arguments and generating polished, easily tailored usage help messages. With colors.” This post provides a brief overview of applying Picocli 0.9.7 to process command line arguments in Java code. Like the other Java-based command line processing libraries ...

Read More »

RAII in Java

Resource Acquisition Is Initialization (RAII) is a design idea introduced in C++ by Bjarne Stroustrup for exception-safe resource management. Thanks to garbage collection Java doesn’t have this feature, but we can implement something similar, using try-with-resources.               The problem RAII is solving is obvious; have a look at this code (I’m sure you know ...

Read More »

[MEGA DEAL] The Immersive Angular 2 Bundle (88% off)

Separate Yourself From the Developer Pack with 44 Intensive Hours on the Web’s Most Exciting New Framework Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 88% off on The Immersive Angular 2 Bundle. Get it now with only $41, instead of the original price of $349. Angular 2 ...

Read More »

flatMap() vs. concatMap() vs. concatMapEager() – RxJava FAQ

java-interview-questions-answers

There are three, seamlessly similar operators in RxJava 2.x: flatMap(), concatMap() and concatMapEager(). All of them accept the same argument – a function from original stream’s individual item to a (sub-)stream of arbitrary type. In other words if you have a Flowable<T> you provide a function from T to Flowable<R> for arbitrary R type. After applying any of these operators you end up with Flowable<R>. So how are they different? Sample project First ...

Read More »

Eclipse Projects: Level Playing Field

For many open source organisations, open means the same thing as transparent: open as in open book. At the Eclipse Foundation, we regard being transparent as the practice of making sure that the community can see and understand what the project is doing; and being open as the act of giving up absolute control and welcoming the community to participate ...

Read More »

You’re Doing It Wrong: Deadlines

We know that deadlines drive behavior. That’s why in scrum, and other agile methodologies, we timebox the development with those deadlines. They tell us: Focus on the important stuff, and make sure it’s done properly. Since they are good in essence, let’s see how we muck them up. Here’s the process. We prepare for the sprint, splitting stories, asking for ...

Read More »

Eager subscription – RxJava FAQ

java-interview-questions-answers

While teaching and mentoring RxJava, as well as after authoring a book, I noticed some areas are especially problematic. I decided to publish a bunch of short tips that address most common pitfalls. This is the first part. Observables and Flowables are lazy by nature. This means no matter how heavy or long-running logic you place inside your Flowable, it will get evaluated ...

Read More »

Playing around with Spring Bean Configuration

spring-interview-questions-answers

In this tutorial we will have a look at something more basic on the Spring spectrum, but as most things can sometimes be forgotten and is something that personally I have not looked at properly since switching from XML to Java configuration. The creation of beans is pretty important to the use of Spring (probably more like very important) allowing ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns