Testing the Rake Post Task

I just merged some tasks from Ellen Gummesson’s cool Rake Boilerplate, and once that was done, started this post based on nothing more complex than ‘rake[“Testing the Rake Post Task”]’. Very cool. Nice job, Ellen, and thanks. My Rakefile with David Ensinger’s work on building Jekyll sites locally and working around the fact that Github […]

Read More…

Java Beginner Tutorial – Downloading and Installing Tools for Java Development

This video tutorial for beginners in Java shows you how to install and configure the tools you’ll need to get started in Java development. You’ll download a Java Development Kit, JDK, version 7, and the free community edition of IntelliJ Idea. The total time for this tutorial is 15 minutes. […]

Read More…

Using TestNG with Spring

Testing Spring in JUnit is fairly simple given the test runner support. Using TestNG is a little bit more complex, but this tutorial will quickly get you up to speed. Table of Contents Moving to TestNG from JUnit Setting Up The Maven Dependency for TestNG Some Simple AbstractTestNGSpringContextTests Examples Moving to TestNG from JUnit A […]

Read More…

Spring Security – Spring Authentication and Authorization Basics

Table of Contents Introduction — My Scandalous Confession Generating a Spring Security Project The Security Configuration Files Spring’s StandardPasswordEncoder Using Security in the View Layer — The Spring Security Tag Libraries Introduction — My Scandalous Confession Before we begin with the tutorial, I am going to lay bare my soul to you. I know, most […]

Read More…

Configuring Spring for Test versus Production

Contents Spring Configuration Options The META-INF Gospel Configuring Spring Properties at Build Time Using Multiple Modules Configuring Spring Properties at Run Time Using the PropertyPlaceholderConfigurer Setting up PropertyPlaceholderConfigurer in the ApplicationContext Some Properties Files to Test Injecting Properties Testing with JUnit Spring Configuration Options The Spring Framework is not opinionated software. Instead, Spring has a […]

Read More…