CodeSolid

Java Software Development

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. 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"]'. 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...

Pros and Cons of Test Driven Development
13 May 2013
If you ask anyone who works with me, I'm a huge fan of automated unit testing in general and Test Driven Development (TDD) in particular. Ever since I first tried it out on a project eleven years ago, I've been convinced that Test Driven Development is a huge improvement over the number one software development "methodology" in the U.S.: code and fix. Read more...

A Simple JUnit Tutorial using Maven and IntelliJ Idea
11 May 2013
JUnit is a powerful and easy to use tool for writing and running Unit tests that every Java programmer should know. In this tutorial, we'll get you up and running with JUnit and IntellijJ idea. Read more...

What If Carpenters Were Hired Like Programmers?
1 May 2013
If carpenters were hired like programmers, job ads might look like this: Read more...

Employee Owned Business Draft Business Plan
15 April 2013
This is a draft business plan for an employee owned software contracting business providing contracting, outsourcing, and staffing services focused on software development. Our initial focus will be on programming, and quality assurance. Read more...

Don't Let the Development Department Run Your One Man Company
21 November 2012
Over the last few days I revisited the code for my project, RelaySafe Secure Email, after taking some detours into: Read more...

Translating Application.html.erb to Haml
10 November 2012
As part of my latest pet Rails project, I'm sharpening up my nascent HAML skills a bit. Read more...