Blog Insights
ActiveMQ Memory Tuning
ActiveMQ is a great messaging broker. However, using the default configuration is not recommended. This article will explain how I determined the appropriate ActiveMQ memory settings for one of our partners. I recently helped a partner with a production issue involving a large java web application that used ActiveMQ as the...Put the Grunt Work Behind You
Gulp is quickly becoming the the leading task runner over grunt. If you are currently using Grunt or even worse, an ant task, then I highly recommend this topic for you. In this write up, we will quickly discuss Grunt, Gulp, and Gulp syntax. Let's take a look at how Grunt...Test Driven Groovy: StubFor
After years of being immersed in Java development, I must admit that I got spoiled by its strong and mature ecosystem. Hence, whenever I want to pick up a new technology or programming language the following must be there: class StudentScoreService { private StudentRepository studentRepository ...Automated Plant Watering System
Taking care of indoor plants can be work, especially if you have many of them. As you know water plays a major role in the health of plants, so lets automate it! Automation of watering plants can be cheap, fun and rewarding. Some quick history about plant watering and why I...Updated TDD Mantra
If you have ever practiced test driven development (TDD), then you are probably familiar with the TDD mantra – red, green, refactor. I’m a big proponent of TDD, but I think the TDD mantra is missing a fourth step. In his book that introduced me to TDD, Test Driven Development: By...Customizing CSRF Protection in Spring Security
Starting in Spring Security 3.2, developers gained an easy solution to their Cross-Site Request Forgery problems with Spring's implementation of the Synchronizer Token Pattern. Spring's documentation does a great job of explaining Synchronizer Token Pattern and their implementation, so rather than talk about all of that, I'm going to show you...How to Implement the Splitter and Aggregator Patterns with Apache Camel
I have found that Apache Camel is a good way to load data from log files into a database. Read on to see how I did this using the splitter and aggregator patterns with Apache Camel. Example: username1,fname1,lname1,email1,action1,start-time1,end-time1 username2,fname2,lname2,email2,action2,start-time2,end-time2 username3,fname3,lname3,email3,action3,start-time3,end-time3 username4,fname4,lname4,email4,action4,start-time4,end-time4 username5,fname5,lname5,email5,action5,start-time5,end-time5 username6,fname6,lname6,email6,action6,start-time6,end-time6 . . . //This can go 150000 records Now what we want is to transfer these huge records from...A Better Analogy for Agile Software Development?
For years, like many of you, I have been comparing software development to construction. But ever since adopting the agile methodology a decade ago, I have been looking for a better analogy to help me explain agile software development. I recently came up with what I think is that analogy...SphinxSearch | Full Text Searching
This article explains how to use SphinxSE, Sphinx real time indexing, and set up Sphinx in order to improve search query performance. First some background about issues surrounding full-text search. Why does someone need a full text search engine? A MySql database with over a million records will take a...Pizza & Beer:Learning with Atlassian
As a new employee here at Source Allies and a new user to our suite of Atlassian products, I was fortunate, and a little intimidated, to attend Atlassian's 2013 Summit. Despite my initial trepidation, I left feeling inspired by what I learned. As a project manager/business analyst, I was worried that...