Dependency Injection 101


One of the most important design patterns in modern programming is known as Dependency Injection (DI), also know as the Inversion of Control (IoC).  DI is a powerful, yet often misunderstood, tool for developing stable, large-scale enterprise software systems.  We’ll cover the basics here, in preparation for using the Spring framework.

Continue reading “Dependency Injection 101”

Continuous Integration with Jenkins


Traditional development workflows save testing and integration of large software products for the end of the process.  This allows for a rapid development phase, but can really complicate the assembly of the final system.  Alternatively, testing and integration can be done continuously, in combination of development, with the aid of various open source tools.

Continue reading “Continuous Integration with Jenkins”

Linux Virtual Machines With VMware


So far, we’ve used Microsoft Windows platforms for all our work on  Windows supports just about every tool we require, but sometimes life is easier when working with a different Operating System.  Does that mean you have to buy another computer?  Not if you know how to virtualize that hardware on your existing Windows platforms.  Here’s how.

Continue reading “Linux Virtual Machines With VMware”

Implementing Model-View-Controller Patterns Using Struts2


The Apache Struts 2 framework allows developers to build large, scalable, reliable, and secure enterprise applications, centered around the Web.  In this post, we’ll discuss a few important aspects of the framework, particularly it’s MVC structure, and create a few examples.

Continue reading “Implementing Model-View-Controller Patterns Using Struts2”

Project Management, This Time With Maven


As we covered a recent post, Apache Ant is an excellent tool for building and deploying basic Java projects, and provides services to download and manage third-party packages.  Configuring Ant projects is a fairly manual process however, and it would be nice to have a tool that assisted with the setup of complex frameworks like Struts and Spring.  Gradle is the newest tool to perform this task, but Apache Maven is the go-to utility today.

Continue reading “Project Management, This Time With Maven”