CodeSolid

Post-mortem of our first ScalaUserGroup.org meeting
14 December 2014
What if we held a Scala User Group and nobody came? Well, in that case, we'd have more time to write some code! Read more...

Asynchronous Order Processing in Play - A Proof of Concept
12 December 2014
Digging into akka and Play RESTful APIs while waiting for user group to show up. Read more...

Shutting Off Social Networks on Linux
26 October 2014
Social networks are wasting your life? Here's a quick fix. Read more...

Bash script to switch between scala versions
26 October 2014
I've found it helpful to be able to switch to different Scala versions, both for testing out my code and for the sake of experimenting with certain libraries that haven't yet been brough current. Here's a simple bash script that shows how I set this up. Read more...

Yet another attempt to make Github Pages as Easy as WordPress
12 October 2014
Another test post. Are you kidding me? I wouldn't read this drivel if I were you. I know it's going to say "Read more..." in a minute, but I would just flat out ignore that. Seriously. Read more...

First Impressions of Cassandra
20 September 2014
How I got a whole bunch of new Cassandra pals and wrote hello world for the umpti-Nth time in my career. Read more...

Java REST tutorial
17 August 2014
Tutorial shows you how to easily create a RESTful API using Java, Jersey, Maven, and IntelliJ Idea. Read more...

Using Gradle to Build Java Selenium Projects
29 June 2014
Ant lets you script anything, and Maven handles all your dependencies neatly. If only there were a build tool that let you do both. Well, there is -- it's Gradle, and in this article we show you how to use it with IntelliJ and Selenium. Read more...

Getting Started in Selenium and Java in IntelliJ Idea, Part 2
16 June 2014
In this article we use a simple IntelliJ Idea project with a corresponding Maven POM file to serve as a home for our Selenium tests, and export a simple Selenium Script from Selenium IDE to Java. Read more...

Getting Started with Selenium in IntelliJ Idea - Part I
14 June 2014
Learn how to set up Selenium IDE and start recording your first Selenium tests in part one of this article series on working with Selenium IDE and IntelliJ Idea. Read more...

Goalboost - Hours Tracking for Sofware Projects
2 June 2014
We're eating our own dogfood on Goalboost, and so far it's not all that bad. Read more...

We are moving
1 June 2014
For some time now my ParticleWave site has been fairly schizophrenic, being also JohnLockwood.com and Codesolid.com. To add to the lack of mental health around this site, I've been meaning to move the whole site to Jekyll for some time, because I'm tired of wordpress updates and stupid spam comments. In other words, I'm moving from Wordpress to Jekyll for the same reason everybody moves from Wordpress to Jekyll. As of this post, my site is live on Github pages, as you can see if you're reading it. There was a LOT involved in making the move, and I took lousy notes. So this is not a tutorial, or not much of one -- sorry. It's more of an announcement for the one or two people who are kind enough to read me from time to time. Getting Wordpress to Jekyll was one nasty little bit of business which I have forgotten since I did it weeks ago. I do recall that it started with Google and involved typing, so I'm sure if you're smart you can reproduce it. More recently I'm able to credit David Ensinger's fine article on how to workaround the fact that your plugins are likely not supported by Github. Nice job there and helpful, and my own stripped down version of his Rakefile is in the source for this site. My version works around some issues I had (I found I had to force the pushes to master for some reason), and it removes some of the sass-specific stuff he had added since I'm not using sass at the moment. Most importantly, it's nice to have a starter site here I can begin to build out. You'll see that there's a lot to be done, the pages are just stubs, etc., etc. There's no domain actually pointing here yet, though we'll work on having it be CodeSolid.com before too long. And now finally I have a place for the blog posts to go, so I can keep writing. For about two months I've written very little on ParticleWave since I know it's going away. Now I can feed my keyboard addition again. Read more...

Testing the Rake Post Task
1 June 2014
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 doesn't support most plugins, together with some of Ellen's post-creating magic is located here. Read more...

Java Beginner Tutorial - Downloading and Installing Tools for Java Development
23 March 2014
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
4 July 2013
Although there aren't too many examples to be found about it, using Spring's AbstractTestNGSpringContextTests turns out to be really easy! We walk you through it in this brief tutorial Read more...

Spring Security - Part I: Spring Authentication and Authorization Basics
9 June 2013
In the first of a multi-part series on Spring Security, we'll examine how to set up a really basic MVC app with Spring Security by relying on IntelliJ idea project generation. We'll examine the code and discuss how it can be improved, and how you can use Spring security features both in the controller layer and the view layer. Read more...

Configuring Spring for Test versus Production
1 June 2013
In this tutorial, we'll discuss some different ways to configure Spring for different environments such as test, production, etc., You'll also learn how to configure spring properties at runtime using the PropertyPlaceholderConfigurer class, and how to test your Spring configuration using JUnit. Read more...

A Simple Hibernate, MySQL, and JUnit Tutorial
22 May 2013
In this tutorial we'll set up some simple Hibernate entities in a non-Spring, POJO (Plain Old Java) environment. We'll explore how to configure Hibernate to work with MySQL, and how to write unit tests for Hibernate entities. Read more...

How to Run the CodeSolid Tutorials in Eclipse
17 May 2013
If you've taken a look at the Github Repository for the CodeSolid tutorials, you may have noticed that the project files all use IntelliJ Idea.  I use the Ultimate Edition (currently Version 12) for most of my development, but recently I promised to look into using these project files in Eclipse.  I had a feeling it would work since I have sourced the Maven project -- i.e., the POM files, those named pom.xml in the root of each tutorial -- but being the good test infected developer that I am, I try not to take "that should work" for granted. Read more...

Spring Unit Testing Using JUnit
16 May 2013
The Spring Framework provides special JUnit test runners to make acquiring and testing an ApplicationContext really easy to do. We'll show you how to take advantage of these special test runners to do basic Spring Unit testing. We'll also teach you how to acquire an application context without using these runners, and though we'll demonstrate this using JUnit as well, the same techniques can be used in Standalone Spring applications or in other test frameworks like TestNG. Read more...