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

 

 

Remembering to Reset Thread Context Class Loader

java-logo

I’m having a difficult time thinking of anything I like less about working with Java than working with class loaders. This is particularly true when working with application servers or OSGi where the use of multiple class loaders is prevalent and the ability to use class loaders transparently is reduced. I agree with the OSGI Alliance Blog post What You ...

Read More »

Testing Spark Streaming: Unit testing

apache-spark-logo

There is enough evidence to prove the importance of automated testing. Projects in new fields often neglect automated testing, as the domain itself steals the attention of the developers. However, lack of testing implies ‘laugh now, cry later’. Some of the tools around Big Data space have been architected around testability or, at least, the community has taken care of ...

Read More »

Distributed Application Bundles (Tour Around Docker 1.12 Series)

docker-logo

The new Swarm bundled in Docker 1.12+ is a vast improvement compared to the old orchestration and scheduling. There is no more the need to run a separate set of Swarm containers (it is bundled in Docker Engine), failover strategies are much more reliable, service discovery is baked in, the new networking works like a charm, and so on. The ...

Read More »

How to avoid underestimating complexity

software-development-2-logo

People involved in software projects would say that software development is about understanding complexity. What is complexity? Complexity is easy to define at a high level, but people get vague when pressed for a precise definition.  Let’s see if we can quantify the problem, then come back and define it.             Assume we need to ...

Read More »

Update DynamoDB Items with Java

java-interview-questions-answers

On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the update examples. When issuing an update you must specify the primary key of the item you want to update. public void updateName(String email,String fullName) { Map<String,AttributeValue> attributeValues = new HashMap<>(); attributeValues.put("email",new AttributeValue().withS(email)); attributeValues.put("fullname",new AttributeValue().withS(fullName)); ...

Read More »

Ye Olde Monolith

software-development-2-logo

As a professional software engineer, you probably have encountered an architectural stumbling block known as a MONOLITH#1. A monolith is essentially a single tier application in enterprise architecture. Forget about the traditional break-down of Java EE application, where they break down an Uber-WAR file into presentation, business-logic and database tiers. That is just gloss over our very eyes, a single ...

Read More »

Guide to time and date in Java

java-logo

Properly handling dates, time, time zones, daylight saving time, leap years and such has been my pet peeve for a long time. This article is not a comprehensive guide to time domain, see Date and time in Java – much more detailed but slightly, ekhem, dated. It’s still relevant, but doesn’t cover java.time from Java 8. I want to cover ...

Read More »

Groovy for Java Developers?! Meet Gradle, Grails and Spock

gradle-logo

What are some of the most interesting Groovy use cases for Java developers? Although it’s been around for a while, it seems that only lately Groovy has been getting its Groove on. It is mostly just another esoteric JVM language for some, but it’s more popular than you think thanks to some popular tools that use it to help you ...

Read More »

No downtime deployment using “Yet another” Cloud Foundry Gradle plugin

gradle-logo

I have been trying my hand at writing a gradle plugin for deploying applications to Cloud Foundry and wrote about this plugin in my previous post. I have now enhanced this plugin with support for no-downtime deploys into Cloud Foundry using two approaches – an Autopilot style deployment and a more commonly used Blue-Green style deployment. To jump into the meat of the plugin, once ...

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:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials