There is a scenario to watch out for where we have class with a few instance variables of reference types but not all of them get initialized via a constructor. This post demonstrates shows how we could unknowingly miss initializing other mocks in a class and how to fix them.
Retry Operation at specific Exception using Spring Retry
Spring-Retry allows us to retry operations when the codes encounter exceptions. How do we limit the retries to specific exceptions only? For instance, we wouldn’t want to retry SOAP Web Service operations. The operations may throw exceptions due to invalid
Using IBM Watson Visual Recognition to classify Images
This post is about using IBM Watson Visual Recognition service to classify images based on how we train it with positive and negative examples. Yes, we will train the service and let it classify some input images.
Read From Multiple Properties Files In Spring Boot
This post demonstrates how to read properties from multiple .properties files in Spring Boot.
Parse Command-line Parameters with Apache Commons CLI
The Apache Common CLI library provides an API for parsing command line parameters passed to command-line programs in various familiar option-value formats, e.g., POSIX format (i.e., tar -zxvf myfile.tar.gz).
Add members to IBM Bluemix Git Projects
This post demonstrates how to add member developers to an existing Git project in IBM Bluemix.
IBM Bluemix, Cloud Foundry, DevOps, and Spring Boot
In this post, we’ll show how to build, and deploy Spring Boot applications in IBM Bluemix using DevOps,
Clone Bluemix Git Projects using SourceTree
Are you unable to clone your own Git project hosted in https://git.ng.bluemix.net using SourceTree? This post demonstrates just that!
Java – Using Amazon Simple Queue Service (AWS SQS)
This post is about using Amazon Simple Queue Service (SQS) in Java with Eclipse and AWS Toolkit Plugin. It also demonstrates how to create queues, send messages to and receive messages from them.
Configure AWS Toolkit for Eclipse with Account Credentials
This post briefly demonstrates how to configure the AWS Toolkit for Eclipse. First, Access Keys need to be generated in the AWS account. Then, use them for the AWS Toolkit plugin installed in Eclipse.