Source Allies Logo

Blog Insights

  • web-mobile icon

    A Basic Canvas

    Over the weekend I decided to play around with the new html5 element canvas. The canvas allows you to paint images in the browser that previously was done with flash. Canvas is fairly straight forward and only requires a basic knowledge of html and javascript. I decided a good start would be to try and make a...
  • development icon

    IRC Reporter

    Recently I was asked to make a bot for a local user group. The bot would simply report new events into the topic of an IRC channel. After the bot was created I decided to write an article about it and publish the code. The code and article  can be found here: http://www.dsmwebgeeks.com/2012/09/creating-an-irc-bot-stephen-dunn/ Basically the bot will...
  • development icon

    Getting Started with Camel, Java, and Spring

    At home and at work, I find that the things that I have to do over and over are the most painful. At home, it’s the dishes; at work, it reading data out of a file or doing Hibernate mappings. No matter what I do, I can’t seem to escape...
  • testing icon

    Beanoh.NET: Spend Less Time Verifying Spring.NET contexts

    Beanoh.NET, pronounced 'beanˌō dot net, is a simple open source tool for verifying your Spring.NET context. Teams that leverage Beanoh spend less time focusing on configuring Spring.NET and more time adding business value.  Beanoh.NET is the .NET cousin of the Java version called Beanoh. You can install Beanoh.NET to your project...
  • development icon

    Iterators, Functors and Predicates

    In this post I am sharing different ways to create 'Custom Iterators' and how to control the behavior of that Iterator. Also part of this article focuses on how to apply different operations on a selected elements within a custom iterator. The way to do this is to implement a...
  • development icon

    Multi-Step Forms in Django

    Forms in Django seem to be a relatively advanced topic if you want to do anything outside of models.  Case in point: I had to develop a multi-step form in django that would spit out a certain result.  There were only two forms that the user needed to fill out,...
  • testing icon

    Automated Testing Strategy for Legacy Systems

    Once you catch the automated testing itch you want to write test for everything. But should we use the same strategy for every piece of software? The conclusion that I've come to is no. While I'm completely committed to the practice of TDD and aggressive test coverage,...
  • development icon

    Code Quality Metrics with Sonar, Part I

    I was fortunate to be able to attend the 2011 edition of No Fluff Just Stuff. One of my favorite presentations was by Matthew McCullough on Sonar. Hence, when the issue of code metrics was raised at a partner, Sonar seemed like the right tool to use. Our partner wanted to explore ways...
  • default icon

    Portlet Development using JSF, PrimeFaces and Spring

    This article presents techniques on how to develop Java Portlets using JavaServer Faces, PrimeFaces and Spring. This hands-on example will integrate all of these technologies into a single application. <!-- Spring Web --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <!-- Portlet --> <dependency> <groupId>javax.portlet</groupId> <artifactId>portlet-api</artifactId> <version>${portlet-api.version}</version> <scope>provided</scope><!-- Prevents addition to war file --> </dependency> <!-- Servlet --> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>${servlet-api.version}</version> <scope>provided</scope><!-- Prevents addition to war file --> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency> <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.1.6</version> </dependency> <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-impl</artifactId> <version>2.1.6</version> </dependency> <!-- EL --> <dependency> <groupId>com.sun.el</groupId> <artifactId>el-ri</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>javax.el</groupId> <artifactId>el-api</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <!--...
  • development icon

    Parallel Programming With Barrier Synchronization

    Parallel Programming is an emerging computer science field that studies the opportunity of splitting data into small chucks and process them on multiple processors simultaneously which provides a faster execution time. Parallel programming is useful in sorting, image processing, network processing and may other memory intensive tasks. For parallel program execution...