Illegal Argument Exception

Miscellaneous Computer Code

Wednesday, 29 August 2012

Java: adding state to interfaces in Java 8 (pre-release)

›
Java 8 introduces the concept of default methods to interfaces and this post looks at the cost of adding state to them. This information p...
Wednesday, 22 August 2012

Java: checked exceptions and lambdas in Java 8 (pre-release)

›
Update: Java 8 has been released and I've implemented a library with a more elegant approach to exception handling than the one descri...
2 comments:
Sunday, 19 August 2012

Java: lambda support in Java 8 (pre-release)

›
Pre-release builds of Java 8 with lambda support are available for download. This post looks at lambda-8-b50-linux-x64-26_jul_2012.tar.gz ....
3 comments:
Sunday, 29 July 2012

JSF: CDI and EL

›
The Contexts and Dependency Injection (CDI) API introduced in Java EE 6 complements the JSF framework. There are good reasons to favour it ...
2 comments:
Wednesday, 27 June 2012

WebSphere Portal: users versus spiders - form reset issue

›
Some users can run afoul of Portal's user-agent rules. Symptoms include the inability to log in and form submissions just causing page r...
Saturday, 26 May 2012

Dojo: adding your own loader plugins

›
define(["dojo/text!./path/some.txt"], function(textData) { Dojo's AMD loader has some useful contextual loading features...
2 comments:
Saturday, 5 May 2012

HOWTO: install WebSphere Portal 7 on CentOS 6.2

›
A short post about setting up a trial WebSphere Portal Express server on the (unsupported) CentOS operating system.
Friday, 4 May 2012

ThinkPad X121e: running 64-bit guest operating systems

›
Like many programmers, I like to run virtual machines to isolate development and test environments from everything else I do on my laptop. M...
Saturday, 7 April 2012

Dojo: mocking dependencies with DOH

›
This post demonstrates a way to use the Dojo 1.7 AMD loader to provide mock /stub/fake/dummy artefacts in place of the defined d...
1 comment:
Wednesday, 4 April 2012

Dojo: version 1.7 and the AMD loader

›
Along with a few other JavaScript libraries , Dojo is making the transition to the Asynchronous Module Definitio...
Monday, 2 January 2012

JSF: managed beans without JSF dependencies

›
A previous post discussed how to inject the FacesContext into managed beans using a broker . This post demonstrates how to build on that a...
Tuesday, 27 December 2011

JSF: mocking FacesContext for unit tests

›
Referencing the FacesContext directly in Java classes makes managed beans more difficult to unit test. This post discusses how to mock the ...
5 comments:
Sunday, 27 November 2011

JSP: arbitrary attributes on JSF controls

›
One criticism developers have of JavaServer Faces is that it is not possible to add arbitrary attributes to the resultant markup. Problems a...
Thursday, 27 October 2011

WebSphere AS: RAD vs WSDL2Java for JAX-RPC client SOAP bindings

›
I've been doing a bit of work recently with JAX-RPC on WebSphere Application Server 6.1. This is hardly cutting edge software (WAS 8 is ...
Saturday, 23 April 2011

Java: JAX-WS web services and clients

›
JAX-WS is built into Java 6. This makes it a low-dependency choice for writing SOAP-based web service code. This post covers the basics of J...
Saturday, 22 January 2011

TAM WebSEAL: authentication and the iPad

›
After upgrading the iPads to a new version, we started seeing a logon issue with servers protected by TAM WebSEAL . After successfully authe...
Friday, 24 December 2010

JavaScript: validating UTF-8 string lengths in the browser

›
Let's take a JavaScript string: "€100" . This is going to be sent from a browser input box and stored in a web server's da...
Sunday, 19 December 2010

JSP: what all the encoding declarations mean

›
When you see a JSP document, you might wonder why it specifies the UTF-8 encoding three or four times. This is a post about what those decla...
Sunday, 21 November 2010

Comments policy

›
Comments are moderated and will not appear until I approve them. I don't live on the blog, so it may take me some time to see and re...
Sunday, 19 September 2010

Java: System.console(), IDEs and testing

›
The method System.console() can return null if there is no console device present. This comes as a surprise to people when they run their ...
7 comments:
‹
›
Home
View web version
Powered by Blogger.