Java
-
Init.d shell script for Play framework distributed applications
I wrote a shell script to control Play framework applications packaged using built-in command dist. Applications packaged this way are…
Read More » -
Automating the Deployment and Upload of Snapshot Java Artifacts Using Jenkins on Window
This post will show how to automate the deployment process of a Java Web Application (Student Enrollment Application developed using…
Read More » -
Custom Spring namespaces made easier with JAXB
First of all, let me tell this out loud: Spring is no longer XML-heavy. As a matter of fact you…
Read More » -
Fast Remote Service Tests
Testing code that interacts with remote services is often pretty hard. There are a lot of tradeoffs that influence what…
Read More » -
Design Pattern: Immutable Embedded Builder
Last week I wrote about what makes a pattern anti-pattern. This week I present a design pattern… or wait… perhaps…
Read More » -
Injecting configuration values using CDI’s InjectionPoint
Dependency injection is a great technology for the organization of class dependencies. All class instances you need in your current…
Read More » -
Building Java Web Application Using MyBatis With Spring
This post will show how to create a Student Enrollment Application using MYSQL DB with MyBatis framework in a Spring…
Read More » -
Java 8: Sorting values in collections
Having realised that Java 8 is due for its GA release within the next few weeks I thought it was…
Read More » -
Getting started with Mocking in Java using Mockito
We all write unit tests but the challenge we face at times is that the unit under test might be…
Read More »