Quantcast
Channel: adrianwalker.org
Browsing all 65 articles
Browse latest View live

Codility.com Demo Test

I like online programming challenges like this demo offered by Codility, it reassures me that I might still be able to think, check it out here:Sample TestThis was my solution:private static int...

View Article


ColdFusion Builder Crack

ColdFusion Builder has been my weapon of choice for writing CFML since it has been in beta and free. Now it's at version 1.0.0, and Adobe has decided to charge $299 for it, I think I'll be going back...

View Article


ColdFusion Head First Design Patterns: Decorator

Continuing in this design patterns series taken from Head First Design Patterns, is a ColdFusion implementation of the Decorator Pattern. Abstract BeverageBeverage.cfc<cfcomponent...

View Article

map, foldr & foldl higher-order functions in Java

Here are my implementations of some higher-order functions in java, foldl, foldr, map and others. Functionals.java package org.adrianwalker.functional; import java.util.ArrayList; import...

View Article

Image may be NSFW.
Clik here to view.

GlassFish Security Review

Table Of ContentsGlassFish is Sun Microsystems open source application server. It is a competitor to Jboss AS and Apache Geronimo in the open source arena, and is my app server of choice. Packt...

View Article


Image may be NSFW.
Clik here to view.

ColdFusion Is Dead (To Me)

So as from today I never have to program any ColdFusion again, it feels pretty good. ColdFusion just doesn't knock my frock off, it never did, and it probably never will. This isn't one of those...

View Article

Image may be NSFW.
Clik here to view.

Using Ordnance Survey OpenData Street View Rasters With GeoServer

Getting the data The Ordnance Survey OpenData can be downloaded or ordered on DVD from here. I thought I'd order the lot on DVD since its free and it would save my bandwidth and time burning gigs of...

View Article

Maven, Spring, Hibernate & JPA skeleton project

Today I read that Spring-JPA is the 'dream team' for POJO development. So I thought I'd see what all the hype is about. Here is a skeleton Maven project using Spring, JPA implemented with Hibernate...

View Article


Image may be NSFW.
Clik here to view.

jchannel - a Java imageboard

I love the chans, so I though I'd build my own. jchannel is simple, linearly-directed, forced anonymous imageboard, implemented using enterprise Java, EJB 3.1, JPA/EclipseLink, with a Google Web...

View Article


Maven Dependency Finder

My friend Mark had an idea for a utility to search a list of your favourite repositories for a given dependency. So I thought I'd code up a version. Maven Dependency Finder is a command line utility...

View Article

Image may be NSFW.
Clik here to view.

GWT File Upload With Event-Based Progress Bar

File upload with progress bar, and paged file downloads. Adapting the event-based code from Chapter 9 of the excellent book Google Web Toolkit Applications, I coded up a file upload application with a...

View Article

Java Sleep Sort - For The Lulz

Strictly for the lulz, here is an implementation of Sleep Sort, first seen on 4chan. SleepSort.java package sleepsort; import java.util.Arrays; import java.util.concurrent.Callable; import...

View Article

Image may be NSFW.
Clik here to view.

EJB 3.1 Cookbook Review

Table Of Contents The Enterprise JavaBeans 3.1 specification is the latest standard from Oracle to further simplify EJB technology. It provides developers with the ability to construct simple and...

View Article


Image may be NSFW.
Clik here to view.

Java EE 6 Development with NetBeans 7 Review

Table Of ContentsNetBeans is Oracle’s (formerly Sun Microsystems’s) open source pure Java integrated design environment (IDE). Since starting to program in Java I’ve tried a few free IDEs, Eclipse,...

View Article

jboard - yet another imageboard

This time I've kept it super simple - no SQL databases, no EJB containers, no extra features, just a simple imageboard web app which writes to the file system. Image resizing is handled by ImageMagick...

View Article


HTTP Proxy

Sometimes you just want a simple HTTP proxy without the hastle. HttpProxy.java package org.adrianwalker.httpproxy; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import...

View Article

Java Multiline String

Here is an implementation of multiline string literals in Java, using Javadoc comments, an annotation and an annotation processor. This method works by annotating a String field with a @Multiline...

View Article


Image may be NSFW.
Clik here to view.

Java 7 New Features Cookbook Review

Java 7 is the latest major release of the Java Language from Oracle. This release contains a number of language enhancements and new APIs, including better exception handling, new threading mechanisms...

View Article

Image may be NSFW.
Clik here to view.

Filtered JTree

The solutions (1, 2) out there for filtering a JTree's nodes weren't suitable for me, so I rolled by own FilteredTreeModel class which wraps a JTree's underlying TreeModel and applies a string filter...

View Article

C Legs

Every now and again I vow to learn C, and now seems like a good time to have another go. My plan for learning C is always the same: Read K&R?Profit Where step 2 might as well be 'Don't use C and...

View Article
Browsing all 65 articles
Browse latest View live