Monthly Archive: November 2013

Stubs and Skeletons

What are stubs and skeletons? At times, it is easy to confuse what is intended when a software engineer refers to stubs and skeletons. If you have been confused in the past, you are not alone. The meaning of these terms differ depending on the context. Stubs and skeletons are primarily used in two contexts, 1. a software pattern and  2. distributed computing Let’s start with the software pattern. 1. As a Software Pattern: Stubs...

Java Impersonation using JNA and Waffle

Have you ever had the need to create a Java application that executes on behalf of a logged in Windows user? You can! In this post we will use JNA and Waffle to: Create a simple Java application to impersonate a Windows domain user. In a future post, we will see how this can also be done in a servlet! 1. Create a Java application to impersonate a Windows domain...