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

[FREE EBOOK] The Complete Guide to Java Logging in Production

How the World’s Leading Companies Choose How and What to Log (Based on analysis of GitHub’s top 400,000 repositories) It’s no secret that log files are noisy and difficult to navigate. With seemingly endless data coming in from our applications, the uses for such data must also be endless. Or so we thought. The abundance of log aggregation and analyzer ...

Read More »

Build a Spring Boot App with Secure Server-to-Server Communication via OAuth 2.0 and Okta

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Most OAuth 2.0 guides are focused around the context of a user, i.e., login to an application using Google, Github, Okta, etc., then do something on behalf ...

Read More »

Migrating from Docker Compose to Kubernetes

Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! The growth of the AppDynamics Demo Platform resulted in infrastructure that had become larger and more difficult to manage without a real orchestration tool. We will look at the steps involved in converting one of our Docker Compose to ...

Read More »

[MEGA DEAL] The Ultimate Backend Developer Bundle (98% off)

This Massive, 14-Course (78-Hour!) Bundle is Your Ticket to a Programming Career Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 98% off on The Ultimate Backend Developer Bundle. Get it now with only $49, instead of the original price of $2,786. The Complete Java And Android Studio Course ...

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 »

Tracing a reactive flow – Using Spring Cloud Sleuth with Boot 2

spring-interview-questions-answers

Spring Cloud Sleuth which adds Spring instrumentation support on top of OpenZipkin Brave makes distributed tracing trivially simple for Spring Boot applications. This is a quick write up on what it takes to add support for distributed tracing using this excellent library. Consider two applications – a client application which uses an upstream service application, both using Spring WebFlux, the ...

Read More »

OpenLiberty: Error on Injection, works on TomEE and Wildfly

While I was working on this blog, I encountered this error: [INFO ] DSRA8203I: Database product name : MySQL [INFO ] DSRA8204I: Database product version : 8.0.11 [INFO ] DSRA8205I: JDBC driver name : MySQL Connector/J [INFO ] DSRA8206I: JDBC driver version : mysql-connector-java-8.0.11 (Revision: 6d4eaa273bc181b4cf1c8ad0821a2227f116fedf) [INFO ] CWWJP9990I: test/wsjpa:wsjar:file:/home/dwuysan/dev/appservers/wlp/usr/servers/test/apps/expanded/test.war/WEB-INF/lib/d9f2b261-b3c6-4001-8a61-0aaebe46aa99.jar!/_testPU login successful [INFO ] WELD-000900: 2.4.5 (Final) [INFO ] FFDC1015I: ...

Read More »

Testing OpenLiberty with Arquillian (Remote)

Having heard many great reviews, I thought I’ll give Open Liberty a try. In this post, I shall discuss the following: Setup of Open Liberty Setup JDBC connection Setup Arquillian Testing REST endpoint Installing Open Liberty At the time of writing, I am using Open Liberty 18.0.0.1, and I am using Java SE 1.8.0_172 (P.S. Keen to move on to ...

Read More »

Spring Reactor Tutorial

spring-interview-questions-answers

In the world of RESTful services where a lot of work actually happens behind the scenes, we often have to do much of the processing in our application which doesn’t actually affect the response which needs to be sent to a real-world user. These business decisions can be taken reactively so that they do not have any impact to a ...

Read More »

Java Is Becoming What COBOL Was – Will It Become What COBOL Is?

Any computer science graduate from a university, technical school or community college is trained in it. Every company of any stature uses the language and has a cadre of programmers capable in it. It is the lingua franca that drives businesses. This was COBOL in 1985. Today, it’s Java. While there are differences, these two languages share enough similarity in their ...

Read More »

Dealing with Domain Objects in Spring MVC

java-interview-questions-answers

I was recently surprised by how one code base had public default constructors (i.e. zero-arguments constructors) in all their domain entities, and had getters and setters for all the fields. As I dug deeper, I found out that the reason why the domain entities are the way they are is largely because the team thinks it was required by the ...

Read More »

How to write a C like Sizeof function in Java

If you have just started learning Java and came from C background then you might have noticed some difference between Java and C programming language e.g. String is an object in Java and not a NULL terminated character array. Similarly, there is is no sizeof() operator in Java. All primitive values have predefined size e.g. int is 4 bytes, char ...

Read More »

Best practices considered harmfull

I’ve long worried about “ Best Practices ”. Sure I usually play along at the time but lurking in the back of my mind, waiting for a suitable opportunity are two questions: Who decided this was best practice? Who says this practice can’t be bettered? I was once told by someone from the oil industry that it was common for ...

Read More »