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

 

 

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 »

Log4j 2.x XSD is Not Fully Descriptive

apache-log4j-logo

In the blog post JAXB and Log4j XML Configuration Files, I discussed “nuances and subtleties associated with using JAXB to work with [Log4j 1.x and Log4j 2.x] XML configuration files via Java classes.” In this post, I look at another challenge associated with generation of Log4j 2.x configuration XML via JAXB objects generated from the Log4j 2.x XML Schema file ...

Read More »

Writing Laws Is Quite Like Programming

software-development-2-logo

In the past year I’ve taken the position of an adviser in the cabinet of a deputy prime minister and as a result of that I had the option to draft legislation. I’ve been doing that with a colleague, both with strong technical background, and it turned out we are not bad at it. Most of “our” laws passed, including ...

Read More »

Java on Steroids: 5 Super Useful JIT Optimization Techniques

java-logo

Java developer? Optimize your production monitoring. See the source code, call stack, and variable state behind all logged errors, warnings, and exceptions – Try Takipi. What are some of the most useful JVM JIT optimizations and how to use them? Even when you’re not actively planning for it, the JVM has quite a few tricks up its sleeve to help ...

Read More »

[MEGA DEAL] Java Programming – the Master Course (85% off)

java-logo

Get Premium, Step-By-Step Instruction on All Things Java Hey fellow geeks, This week, on our JCG Deals store, we have an extreme offer. We are offering the Java Programming – the Master Course for only $29 instead of the original price of $149, yeap that is a massive 85% off. Java is undoubtedly one of the most important programming languages ...

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