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

 

 

So, Oracle killed java.net

Well, not yet…but they announced to shutdown java.net and kenai by May 2017. I have been interviewed about this for an ADTmag article The ‘Sunsetting’ of Kenai and java.net by John K. Waters. As Oracle provided little information to what will happen to critical projects that are already hosted on java.net, most of what was written in the article is ...

Read More »

The Java Syncrhonisers

Threads communication happens primarily by sharing access to fields and objects. Although extremely efficient, this form of communication is prone to errors such as thread interference and memory consistency. Synchronization is a tool that helps to prevent such errors. However, synchronization does not come for free and can introduce latency when accessing a lock or object that is currently being ...

Read More »

A Beginner’s Guide to the Dockerfile

The humble but powerful Dockerfile is the building block of Docker images and containers. In essence, it’s a list of commands the Docker engine runs to assemble the image, and thus instances of images as containers. Let’s look at an example before learning to construct our own. This is the Dockerfile for RethinkDB, a popular open-source, real-time database. dockerfile FROM ...

Read More »

Building a compiler for your own language: from the parse tree to the Abstract Syntax Tree

In this post we are going to see how process and transform the information obtained from the parser. The ANTLR parser recognizes the elements present in the source code and build a parse tree. From the parse tree we will obtain the Abstract Syntax Tree which we will use to perform validation and produce compiled code. Note that the terminology can vary: ...

Read More »

Reducing Your Docker Image Size

When architecting Docker applications, keeping your images as lightweight as possible has a lot of practical benefits. It makes things faster, more portable, and less prone to breaks. Lightweight images also make it easier to use services like Jet, Codeship’s Docker CI/CD platform; they’re less likely to present complex problems that are hard to troubleshoot, and it takes less time ...

Read More »

Achieving Order Guarnetee in Kafka with Partitioning

java-interview-questions-answers

One of the most important features of Kafka is to do load balancing of messages and guarantee ordering in a distributed cluster, which otherwise would not be possible in a traditional queue. Lets first try and understand the problem statement Let us assume we have a topic where messages are sent and there is a consumer who is consuming these ...

Read More »

You’re Doing It Wrong: Retrospectives

If you’re already doing agile wrong, retrospectives are one of the first things you let go of. A shame really, but if you’re doing something wrong, you better screw up the thing that will bring you the most value. Why does dropping retrospective seem the least harmful? If you think planning is important (because it shows you think about work), and ...

Read More »

StatsD vs collectd vs fluentd and Other Daemons You Should Know

What are some of the most popular daemons and what can they do? Monitoring is key element in every system, and while our users are a great indicator regarding what’s going on the system, we should be able to give them the best and smooth experience possible. That’s when daemons come in handy, collecting every piece of data we might ...

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