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 ....

 

 

Introduction to WSO2 Registry Mounting

java-interview-questions-answers

This post is based on the common questions raised about registry mounting and how it works etc. Below are the main questions people ask: 1). How mounting works? 2). What is the difference between Config Registry and Governance Registry? 3). Can I use databases other than H2 for Local Registry? 4). What is meant by mount path and target path? ...

Read More »

GC Explained: Algorithms

As described in the previous post, we have four different garbage collectors available in HotSpot JVM. There are some significant differences between them, but the actual concepts behind the algorithms which are used to do the actual job are quite similar. In this short post, I will try to explain three basic algorithms: Mark-sweep Mark-sweep-compact Mark-copy GC Roots Before we ...

Read More »

Java Application Performance Monitoring: End-to-end performance of complex distributed applications

Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! Monitor Java application performance — focused on business transactions — end-to-end in the most complex and distributed environments. Auto-discovered business transactions, dynamic baselining, code-level diagnostics, and Virtual War Room collaboration ensure rapid issue identification and resolution to maintain an ...

Read More »

Using Gmail as SMTP server from Java, Spring Boot apps

spring-interview-questions-answers

Gmail users can use Gmail’s SMTP server smtp.gmail.com to send emails from their Spring Boot apps. For this let us do some setup in the app: Provide SMTP connection properties in the application.properties file: spring.mail.host=smtp.gmail.com spring.mail.username=<your gmail/google app email> spring.mail.password=***** spring.mail.port=587 spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.required=true Use Spring Boot Email tools library – which is a wrapper over Spring Boot Email starter library. ...

Read More »

[MEGA DEAL] The Full Stack JavaScript Bundle (94% off)

Prove You’re More Than A One-Trick Programming Pony with This Massive (57+ Hours) Training In The MEAN Stack Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 94% off on The Full Stack JavaScript Bundle. Get it now with only $38, instead of the original price of $719. Learn ...

Read More »

Idiomatic concurrency: flatMap() vs. parallel() – RxJava FAQ

Simple, effective and safe concurrency was one of the design principles of RxJava. Yet, ironically, it’s probably one of the most misunderstood aspects of this library. Let’s take a simple example: imagine we have a bunch of UUIDs and for each one of them we must perform a set of tasks. The first problem is to perform I/O intensive operation per ...

Read More »

Java Message System Introduction

java-interview-questions-answers

Java Message System In this article, I will talk about Message Orientated Middleware (MOM) and how it is implemented in Enterprise Java by JMS. Also, I will discuss the typical use cases which suit the use of JMS and different terminology used to talk about messaging solutions such as Publisher/Sender, Destination/Topic/Queue and Subscriber/Receiver. I will introduce the two types of ...

Read More »

Lombok – you should definitely give it a try

spring-interview-questions-answers

Lombok is not a new thing in a Java ecosystem, but I must admit I always underestimated its value until I tried it or I was “convienced” to try it. I did not see much value in adding a library that generates code that can be easily generated by any modern IDE these days. So I ignored the library and ...

Read More »