Popular Posts

Sorry. No data so far.

Ben McCann

Co-founder of Connectifier.
Investor at C3 Ventures.
Google and CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter

Ben

Struts 2 Tutorial – Creating Views

09/09/2008

One of the first things you’ll want to do after getting started with Struts 2 is create more complex user interfaces. We call the UI a view because Struts2 makes use of the Model-View-Controller (MVC) design pattern.  For this example, let’s assume we have an action that returns a list of all the employees at Read More

Struts 2 Tutorial – Getting Started

09/08/2008

Struts 2 is an MVC web development framework.  It is based off of Web Work and has far less configuration than the original Struts.  I would strongly recommend Struts 2 over Struts for new development due to the faster development times it allows.  This is a very simple example and follow up posts will be Read More

SiteMesh Tutorial with Examples

09/07/2008

SiteMesh is a web layout framework for Java.  It differs from from frameworks such as Tiles in that it utilizes the decorator pattern.  For example, you create a number of pages and then you tell SiteMesh that you’d like to add the same header, footer, and menus to each of those pages.  This tutorial will Read More

Setup and Configure openSUSE 11.0

08/17/2008

Let me start off by saying that openSUSE 11.0 is the best Linux distribution I have ever used.  There are some rough edges surrounding KDE 4, but the package management in openSUSE 11.0 makes huge strides over that offered in previous versions.  If you want to get up and running with openSUSE 11.0 then there Read More

Opening a Windows Command Prompt in Windows Explorer

07/30/2008

If you’ve ever used Linux and gotten used to having a command prompt, then going back to the Windows command line is a difficult and frustrating change.  Luckily, there’s an amazing program called PowerShell that can alleviate your stress. To open a command prompt in any directory in Windows Explorer, follow these steps to add Read More

Essential Linux Commands

07/29/2008

Getting started on Linux can be challenging.  Largely because the first time user won’t have any idea how to track down potential problems.  The following Linux commands are essential to get additional information about your system when something goes wrong. Machine info sudo lshw -html > hardware.html – Creates an HTML page showing what hardware Read More

Running Quicken Premier 2008 on Linux with Wine

07/27/2008

Wine attempts to create a Windows-compatible layer on top of Linux to allow you to run your favorite programs. Recently, Wine had its 1.0 release and has gotten quite strong when compared to earlier versions.  Quicken works reasonably well with wine-1.1.6 and later. With wine-1.1.5 and earlier you’ll need to use a WINE override.  That Read More

Open Windows Explorer to New Default Directory

07/27/2008

To get Windows Explorer to open to a default directory, you can create a new shortcut and modify the path. For example, the following shortcut path will open a directory of documents on a shared drive using Explorer instead of the normal window: %SystemRoot%\explorer.exe /e,S:\Documents

Easy Java Bean toString() using BeanUtils

07/10/2008

I often want to have a String description of my beans for debugging or logging purposes, but hate having to manually concatenate the fields in my class to create a toString() method. This code snippet using Apache Commons is very helpful for just such occasions. Thanks to Paul Wilton who suggested this updated code snippet in Read More

Newer Posts
Older Posts