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 ....
I agree to the Terms and Privacy Policy

[MEGA DEAL] The Complete Ethical Hacking Course (92%)

Learn Penetration Testing & Build Security & Coding Tools with Python Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 92% off on The Complete Ethical Hacking Course. Get it now with only $14,99, instead of the original price of $200 This is one of the most comprehensive Ethical ...

Read More »

Top 20 Online Programming Courses to Boost your Career

Do you want to know what is the best investment you can make with your time and money? Knowledge As a software developer you should be constantly acquiring new skills. This is the best way to advance your career and enjoy the rewards (monetary, emotional etc.). Towards that direction you should be reading books, devouring technical articles and staying informed ...

Read More »

Draft JEP to Remove Deprecated CMS Garbage Collector

In the 10 April 2017 post “Java Garbage Collectors: When Will G1GC Force CMS Out?,” I discussed JEP 291 (“Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector”) and provided a summary of some of the feedback for and against deprecating (and ultimately removing) the Concurrent Mark Sweep (CMS) Garbage Collector (GC). Earlier this month, a draft JEP called “Remove the ...

Read More »

The Best Java IDE

In this post, we will check the The Best Java IDE for desktop, web and mobile Java integrated development environments. There are free Java IDEs available for design, development, and testing of desktop, mobile and web applications. Table Of Contents 1. Overview 2. The Best Java IDEs 2.1. Desktop Development 2.2. Web Development 2.3. Mobile Development 3. Summary   1. ...

Read More »

Golang – Optional Arguments for APIs

I was recently directed towards Dave Cheney’s article Functional options for friendly APIs where he shares his thoughts on designs for optional parameters in APIs. Dave ends with a proposal for functional arguments that are optionally passed to a type constructor. There is no question this design is superior to having a single constructor with lots of arguments. However: Dave’s ...

Read More »

Minimize turnaround times with Open Liberty’s dev mode

java-interview-questions-answers

I’ve uploaded a video in which I show how to reduce the turnaround times while writing Enterprise Java applications that are deployed on Open Liberty. The liberty:dev goal of the Maven plugin watches for file changes and applies the changes instantly, without the need to rebuild the whole deployment artifact. I’ll show how Open Liberty can keep running while we’re ...

Read More »

5 Questions Everyone’s Asking About Microservices (Question 2)

When discussing the development impact on existing applications while transitioning to microservices, there are five questions that keep popping up in one form or another. They are the same regardless of the size of the organization and seem to become part of strategy discussions later in the process as organizations move towards microservice architectures. These articles cover questions that everyone ...

Read More »

Checking What’s Thrown in Java Tests

Someone came up with the idea of using try and catch blocks in unit tests in Java: 1 2 3 4 5 6 7 8 @Test public void test() {    try {       callSomeCode();    } catch (Exception e) {       assertEquals("foo", e.getMessage());    } } The above is tempting, but doesn’t work. If the code under test didn’t throw, then no assertion would ...

Read More »

The Chameleon Function

In Doctor Who the character Kamelion was a robot which could take any form. The physical prop they used was allegedly very troublesome and only understood by its creator, who wasn’t around to help put it right. So to the Chamelion function … Consider this code: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 ...

Read More »