Understanding Java 8 Lambda final finally variable


I am a little late to the java 8 party and was trying to quickly get some hands on with lambdas and ran into an issue where I got the error message Variables used in lambda should be final or effecti...


How to set up Apache Storm on mac using brew


I am learning about Apache Storm and the guide had long and winding instructions on how to install Apache Storm. I installed the single node using brew and it was a breeze. I did not had to spend time...

Waffle : Windows Single Sign On


Last week, I was working on an application where I had to do LDAP authentication. My cmpany has been using a very old jar file that had the required code for authenticating and authorizing users. Ther...


4 ways to set up datasources in Jboss AS 7


Last year my company decided to move from JBoss 4.x/5.x to Jboss AS 7. We use Maven and IZPack plugin to create automated deployment to Jboss 4. As a part of IZPack plugin, we would write the install....


PowerMock : How to test a private method


“I HAVE THE POWER!!” – I had this feeling a few days ago. I will be honest that at work I do not get time to write unit test cases for each and every piece of code that I write. Ofte...


Install Or Manage multiple versions of Java on OS X


A few weeks ago my Mac hard drive crashed and I had to get a new grad drive. As part of upgrade, I had to wipe my drive clean and install Yosemite. What I did not realize was that Apple had goofed up ...


Restful Webservice in 7 Steps using Spring boot


Last week I was working on a new application which required me to build a web service to access it’s functionality. I decided to check out Spring 4 RestController. I was amazed at how far we hav...


A quick tutorial on SAAJ API


We ran into an issue last week. I had to call a third party web service that was built in PHP. Anyone who wokrs with Java will tell you that calling a web service is not more 15 minutes coding. You ta...


Read / Write Excel file in Java using Apache POI


About a year or two ago I was working with finance team where they wanted to pull the credit card transactions for all the customer using various combinations. Ex – – Get the credit card t...