Blog Insights
Creating an Open Source Project
I feel like I understand the differences a little better, but I would like to know what other open source projects are using. I found a list of the “Top 20 Most Commonly Used Licenses in Open Source Projects" (http://www.blackducksoftware.com/oss/licenses). With the comparisons and the ranking I am leaning towards...Maven 3 Tutorial - Project Setup
To illustrate this point I will share a story from my early years in software development. Our shop used Ant without Ivy. Ivy didn’t become a full fledged Apache project until October, 2007. Each team had their own Ant build. As we began to move from team to team we had to find...Testing Spring Wiring
One of our partners suffered from this very issue. Due to environmental constraints they could not run automated, in-container tests that would have identified misconfigured beans. After repeatedly committing stupid configuration mistakes, I decided that I would write a Spring wiring test. As I began to write this I encountered...Mock Me With Fewer Words
With Mockito 1.8.3 or higher you can significantly reduce your test code setup. Here is the code before. public class MockitoTest { private EmailFactory emailFactory; private Notifier notifier; private Emailer emailer; private Email email; @Before public void setUp(){ ...Rethinking the DAO-Service layer relationship
Lately I have been thinking that the standard service-calling-the-dao-layer architecture hasn't been working out as well as I would hope. The applications I have been working on have been using Spring and Hibernate with a dao object per model object. While this does provide a good separation between...Selenium IDE - Part II
In Part I we covered All examples will use the sample site https://sites.google.com/site/example4selenium/. <li>You can verify your XPath by clicking the 'Find' button. The element will be highlighted in the browser with flashing neon green if it exists.</li> <li>If you want to select elements by position, you may want the following information....Pair Programming 101
Pair programming is a technique where two programmers work at a single work station. One person "drives" or has control of the mouse and keyboard. The other person "navigates" or keeps track of where they are and where they are headed. This is a perfect environment for teaching and learning...Selenium IDE - Part I
Selenium IDE is a free Firefox plugin that leverages javascript to record automated test scripts. In this first tutorial we will install Selenium IDE and create a basic test script. The next tutorial will cover more advanced topics. I primarily use Selenium IDE in three areas: <li>Click the 'Results' link.</li> <li>Right-click and...Greasemonkey
Greasemonkey is an extension for Firefox that leverages javascript to modify the look and functionality of a page. At first glance this tool looks like a neat toy. However, this tool came in quite handy at one of our partners recently. Our partner was tracking their daily status on...Transactions Our Invisible Allies
Transactions are an essential component in enterprise software development. When your application works properly you rarely think about transactions. However, when things go wrong debugging transactions can be quite challenging. Instead of being reactive we need to proactively test our transactions. When I first got into the software...