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

 

 

Downsides of Mixed Identifiers When Porting Between Oracle and PostgreSQL Databases

postgresql-logo

Both the Oracle database and the PostgreSQL database use the presence or absence of double quotes to indicate case sensitive or case insensitive identifiers. Each of these databases allows identifiers to be named without quotes (generally case insensitive) or with double quotes (case sensitive). This blog post discusses some of the potential negative consequences of mixing quoted (or delimited) identifiers ...

Read More »

What the Heck Is Mutation Testing?

java-logo

In recent times, I came repeatedly upon the term mutation testing. Since the word is that this approach is able to detect test safety net gaps in a way which goes beyond code coverage, I took my time to catch up on the topic and gave it a try. This post summarizes my findings as a quick introduction to the ...

Read More »

Apache JMeter Tutorial

apache-jmeter-logo

Want to load test your web app? Then you should know about Apache JMeter! This JMeter tutorial explains the basic concepts as well as how to create a test plan and how to execute it to benchmark your application. This is a crossposting of my article on Disy’s Tech-Blog – thanks for letting me write it on company time, guys! ...

Read More »

JMS Sender application with ActiveMQ and Maven

apache-activemq-logo

We have already seen how to create a JMS Receiver application with ActiveMQ and Maven. Let’s check out how we can similarly create the JMS Sender application. web.xml remains the same as we had used for creating the receiver application: <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/jmsContext.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> </web-app> jmsContext.xml would change a bit to something like: ...

Read More »

Wrap around design pattern in java8

java-logo

Wrap around pattern is not listed in in GOF book but is very useful for problem like below: Loop construct for e.g do while/while/for loop Stopwatch around some code. Wrap checked exception with run time exception Initialization and cleanup for eg Threadpool creation/destruction or file open/close etc Adding context info to threads for eg request context info for logging or ...

Read More »

Simplify Email In Your App with Mailgun API

devops-logo

Mailgun is email for developers. Mailgun has elegant REST API to send and receive emails from your mobile app. I know that many Appery.io developers send emails from their apps for registration, confirmation, and everything else. To make it simple to use the Mailgun API in an Appery.io, we have introduced a Mailgun plugin in Appery.io.         ...

Read 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 »

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