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

 

 

Continuous Deployment circleci, AWS (Elastic Beanstalk), Docker

docker-logo

Introduction We run some of our services in Docker container, under Elastic Beanstalk (EB). We use circleci for our CI cycle. EB, Docker and Circlec integrate really nice for automatic deployment. It’s fairly easy to set up all the services to work together. In this post, I am summarising the steps to do it. About EB Applications and Versions Elastic ...

Read More »

Annotation-driven event listeners in Spring 4.2

spring-interview-questions-answers

Introduction Exchanging events within the application has become indispensable part of many applications and thankfully Spring provides a complete infrastructure for transient events (*). The recent refactoring of transaction bound events gave me an excuse to check in practice the new annotation-driven event listeners introduced in Spring 4.2. Let’s see what can be gained. (*) – for persistent events in ...

Read More »

A Taxonomy Of Comments

software-development-2-logo

Comments can be used to convey what code does, what it should to, what it does not do, why it exists, when and how it should and shouldn’t be used, and more. Let’s categorize them! Isn’t this boring? Well, maybe, although Carl didn’t think so. And I see it as an important next step in our discussion about comments:   ...

Read More »

Clean Integration Testing with JUnit Rules

java-interview-questions-answers

The benefits of JUnit Rules, especially when dealing with integration testing, can hardly be overrated. In this post, we’ll shine a light on the usefulness of ExternalResource extensions. These simplify fixture control in cases where we have to work with external-resource-abstracting third-party libraries. As an example, we’ll have a look at how to verify the correct retrieval of a list ...

Read More »

Persistence in CQRS Read Models

software-development-2-logo

One of the biggest benefits of CQRS is the ability to implement multiple read models. Business rules and the domain model are safe, clean and isolated over in the write model. They are not getting in the way of view models, which can selectively pick the pieces they are interested in, freely reshape them, and do everything in a way ...

Read More »

Placeholders support in Value annotations in Spring

spring-interview-questions-answers

${...} placeholders in @Value annotation are used to access properties registered with @PropertySource. This is extremely useful with @Configuration beans in Spring applications, but not only. To be sure that this is possible, PropertySourcesPlaceholderConfigurer must be present in all application contexts that placeholders resolution is required. In this blog post you will learn how to configure placeholders resolution in Spring ...

Read More »

Code review: Why are we doing it?

software-development-2-logo

Developers across many organisations adopted code reviews as one of their core practices. Although that sounds like a very reasonable thing to do, over time the goal that led to the adoption of the practice is forgotten and the only thing left is the mindless application of the practice itself. Why do we need code reviews? Maintain quality. Disseminate knowledge. ...

Read More »

Visitor Design Pattern

java-logo

This article is part of our Academy Course titled Java Design Patterns. In this course you will delve into a vast number of Design Patterns and see how those are implemented and utilized in Java. You will understand the reasons why patterns are so important and learn when and how to apply each one of them. Check it out here! ...

Read More »

Iterator Design Pattern

java-logo

This article is part of our Academy Course titled Java Design Patterns. In this course you will delve into a vast number of Design Patterns and see how those are implemented and utilized in Java. You will understand the reasons why patterns are so important and learn when and how to apply each one of them. Check it out here! ...

Read More »

Decorator Design Pattern

java-logo

This article is part of our Academy Course titled Java Design Patterns. In this course you will delve into a vast number of Design Patterns and see how those are implemented and utilized in Java. You will understand the reasons why patterns are so important and learn when and how to apply each one of them. Check it out here! ...

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