ManagedBeanCreationException – What’s gone wrong now!

I recently failed to inject a managed bean into another bean that I was writing and for the life of me I couldn’t see what I’d done wrong. As is often the case it’s the little things that trip us up and in this case I was so used to doing it I couldn’t see the mistake. The exception message I was getting was:

Property foo for managed bean fooConverter does not exist.  Check that appropriate getter and/or setter methods exist.

Continue reading

Subtle Subversion Problem

Here’s a problem you don’t see everyday which really shows up the stupidity of the whole case sensitive / insensitive filesystem battle between Windows and Unix like operating systems. Fortunately a lot of work has been done to make the two different schools of thought play together nicely but occasionally something falls through the cracks and the differences come back to bite you, this is one such situation.Continue reading

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. So far so good but there’s a couple of areas that could perhaps do with a little polish.Continue reading

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 it can be trivial to update the label or require an understanding of threading and thread safety.Continue reading

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 projects and I’ve found it to be useful in most desktop applications as well so it was the natural choice here. How you go about bringing together JPA and JavaFX isn’t necessarily as obvious as it could be so I thought I’d write a small demonstration application. While writing the demo I decided I’d also have an explore of the drag and drop features of JavaFX and get it working with a TreeView which is a bit more challenging than with the other components.Continue reading