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

 

 

Custom Audit Log With Spring And Hibernate

jboss-hibernate-logo

If you need to have automatic auditing of all database operations and you are using Hibernate…you should use Envers or spring data jpa auditing. But if for some reasons you can’t use Envers, you can achieve something similar with hibernate event listeners and spring transaction synchronization. First, start with the event listener. You should capture all insert, update and delete ...

Read More »

Status Report: Ceylon TypeScript Loader GSoC project

ceylon-logo

TL;DR: coming along, won’t be done in time for official GSoC deadline, I’ll just keep working. For this year’s Google Summer of Code, I am working on adding TypeScript support to the Ceylon JavaScript backend. The goal is to have a tool that, given a TypeScript module (one or more files), produces a Ceylon module for the JavaScript backend. The ...

Read More »

Introducing “Yet another” Cloud foundry Gradle plugin

gradle-logo

In the process of working on an automated Jenkins pipeline for deploying a Cloud Foundry application with two of my colleagues(Thanks Mark Alston, Dave Malone !) I decided to try my hand on writing a Gradle plugin to perform some of the tasks that are typically done using a command line Cloud Foundry Client. Introducing the totally unimaginatively named “ya-cf-app-gradle-plugin” with a set of gradle ...

Read More »

Android vs. iOS Development

software-development-2-logo

What platform to choose for development? Well, you’ve come to conclusion to start developing mobile applications and can’t help doing it. The problem is it is quite difficult to decide what platform to choose for development. Both Android and iOS have their pros and cons and choosing one of them depends also on your personal feelings to Apple’s products or companies ...

Read More »

Labels and Constraints with Docker Daemon and Service

docker-logo

Metadata, such as labels, can be attached to Docker daemon. A label is a key/value pair and allows the Docker host to be a target of containers. The semantics of labels is completely defined by the application. A new constraint can be specified during service creation targeting the tasks on a particular host. Let’s see how we can use labels and constraints in Docker ...

Read More »

The Hardest Part About Microservices: Your Data

software-development-2-logo

Continuing on with my series about microservices implementations (see “Why Microservices Should Be Event Driven”, “Three things to make your microservices more resilient”, “Carving the Java EE Monolith: Prefer Verticals, not Layers” for background) we’re going to explore probably the hardest problem when creating and developing microservices. Your data. Using Spring Boot/Dropwizard/Docker doesn’t mean you’re doing microservices. Taking a hard ...

Read More »

Stackoverflow: 7 of the Best Java Answers That You Haven’t Seen

java-logo

What are some of the most interesting answers you can find on Stackoverflow? Stackoverflow is a goldmine for developers. It helps us find the most useful answers to specific issues we encounter, and we always find ourselves learning new things from it. For the following post, we’ve looked into the most popular Java questions and answers and decided to highlight ...

Read More »

Spring-Managed Hibernate Event Listeners

jboss-hibernate-logo

Hibernate offers event listeners as part of its SPI. You can hook your listeners to a number of events, including pre-insert, post-insert, pre-delete, flush, etc. But sometimes in these listeners you want to use spring dependencies. I’ve written previously on how to do that, but hibernate has been upgraded and now there’s a better way (and the old way isn’t ...

Read More »

CQRS with Java and Lagom

java-logo

I’ve had the pleasure to talk at the Chicago Java User Group and talk about how Lagom implements CQRS, the Command Query Responsibility Segregation pattern. Thankfully, there is a recording and I also published the slides on slideshare.                 Abstract: As soon as an application becomes even moderately complex, CQRS and an Event Sourced ...

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