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

 

 

The downside of version-less optimistic locking

Introduction In my previous post I demonstrated how you can scale optimistic locking through write-concerns splitting. Version-less optimistic locking is one lesser-known Hibernate feature. In this post I’ll explain both the good and the bad parts of this approach.         Version-less optimistic locking Optimistic locking is commonly associated with a logical or physical clocking sequence, for both ...

Read More »

REST Messages And Data Transfer Objects

In Patterns of Enterprise Application Architecture, Martin Fowler defines a Data Transfer Object (DTO) as: An object that carries data between processes in order to reduce the number of method calls. Note that a Data Transfer Object is not the same as a Data Access Object (DAO), although they have some similarities. A Data Access Object is used to hide ...

Read More »

Building dynamic responsive multi-level menus with plain HTML and OmniFaces

Recently, I had to create a responsive multi-level menu with JSF 2.2. Requirements: the menu should:                   be created with dynamic structure from backend be responsive, i.e. desktop- and mobile-friendly have submenu items with navigation links support touch events support keyboard accessibility PrimeFaces’ menus were not a choice. They can indeed be ...

Read More »

Soft Skills: The Developer’s Life Manual – Book review and Coupon

John Sonmez, member of our JCG Program, is the founder of Simple Programmer, where he tirelessly pursues his vision of transforming complex issues into simple solutions. He has published over 50 courses on topics such as iOS, Android, .NET, Java, and game development for online developer training resources and also hosts his own podcast. John is a life coach for ...

Read More »

What’s up with Java EE 8 ?

java-interview-questions-answers

Work on Java EE 8 is well on it’s way. Time to catch up! Dive in without further ado… Don’t forget Java EE 7 just yet….. Revolved around three important themes HTML 5 alignment – Java API for WebSocket (JSR 356), JSON Processing (JSR 353), JAX-RS 2.0 (JSR 339) Developer productivity – CDI 1.x , JMS 2.0 (JSR 343) Meeting ...

Read More »

Continuous Deployment: Strategies

This article is part of the Continuous Integration, Delivery and Deployment series. Previous article provided introduction to continuous deployment. In this one we’ll continue where we left and explore different strategies to deploy software. The article is in no way an exhaustive list of ways to deploy applications but tries to provide few common ways that are in use today. ...

Read More »

Spring Data JPA Tutorial: Getting the Required Dependencies

spring-interview-questions-answers

Before we can create an application that uses Spring Data JPA, we need to get the required dependencies. This blog post identifies the required components and describes how we can get them by using Maven. Let’s get started. Additional Reading: If you are not familiar with Spring Data JPA, you should read the following blog post before you continue reading ...

Read More »

A Tech Lead Paradox: Technical Needs vs Business Needs

Agile Manifesto signatory Jim Highsmith talks about riding paradoxes in his approach to Adaptive Leadership. A leader will find themselves choosing between two solutions or two situations that compete against each other. A leader successfully “rides the paradox” when they adopt an “AND” mindset, instead of an “OR” mindset. Instead of choosing one solution over another, they find a way ...

Read More »

Checking Sanity in TDD Testing

Whether you’re in the process of fully adopting Test Driven Development (TDD), providing unit tests after you have written your code, or something in between, the question that you will soon ask is: “What should I be testing?” The simplest answer to me is: any place where you can isolate and test just your code. In my opinion, Test-Driven Development ...

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