Author: doozer

  • JavaFX 2 with JPA 2 and Drag and Drop – Part 3

    This article will cover a method that can be used to include more than one entity type in a tree (the same system will work for other widgets such as lists and tables) by using a proxy holder. The previous articles in this series covered setting up the demo application and getting started with JPA.

  • Installing mod_pagespeed on Ubuntu

    The mod_pagespeed extension is designed to reduce the load time of pages on a web site by performing certain optimizations such as  optimizing images and minifying CSS and JavaScript. This guide covers installing mod_pagespeed on an Apache server running under Ubuntu 12.04. The process should be the same for later versions of Ubuntu as well.

  • JavaEE 7 – A First Look

    Now that JavaEE 7 is out of the starting blocks and running free I thought I’d have a first look. I decided that as I’ve not had a look at the JavaEE tutorial for a while I’d work my way through it as both a refresher and to find out about the new API’s available.…

  • SampleFX – Updating a Label

    The humble label is probably one of the most used widgets in the UI designers toolkit so getting to know it inside and out is important. A common task it is to update a label to display some new information depending on the state of the application. Depending on where that new information comes from…

  • SampleFX Mini-Demos

    I’ve taken a short break from the JavaFX and JPA series of articles because I wanted to start a new project that demonstrates common day to day tasks in JavaFX. I’ve called this project SampleFX5 and you can download it here.

  • JavaFX 2 with JPA 2 and Drag and Drop – Part 2

    In the first part of this series I gave an over view of the project and how to install and run it. Now I’ll cover the JPA aspects of the project.

  • JavaFX 2 with JPA 2 and Drag and Drop – Part 1

    After a bit of a break away doing other things I’m back on a project that uses JavaFX 2. So far this project hasn’t required much in the way of persistence either for settings or data but a new feature I’m working on makes use of a database. I use JPA 2 for web based…

  • XPath, JAXP and the Default Namespace

    So you’ve just finished parsing a document with your validating namespace aware document factory and you’ve gone to select some nodes using XPath and nothing has appeared (no nodes where selected). You’ve tried changing the XPath expression, making it simpler and simpler and still nothing. Chances are it’s not he XPath that’s at fault it’s…

  • PrimeFaces p:fileUpload not Appearing

    I hit this issue with the PrimeFaces p:fileUpload component this morning and it had me going for about an hour until I figured out what was wrong. A good googling shows that more than a few people have hit this problem but no one had reported a solution, there was even a bug report closed…

  • Converting a List into a Quoted List

    I recently needed to convert a simple list of strings into something that could be used in a SQL IN clause. The format for the IN clause that I needed was quoted strings with commas between each value.

  • How to Modify the Default NetBeans Template

    By default every single class that you create with NetBeans will start with a header that tells you how to change the template. This header has found it’s way into just about every file in all my projects and it serves no useful purpose, why it can’t just be an empty comment I don’t know…

  • Hudson Hell Part 2

    Just when I think that I’ve got everything working I hit another issue. This time it’s with Subversion. I’m trying to create a new job so I select Subversion under the SCM section and enter the appropriate URL. Hudson tells me that I need to enter credentials so I click the link which takes me…