You are here: Home

Dynamic Dashboard with PrimeFaces - Part 2

After putting together the first page on writing a dynamic dashboard with primefaces I descovered that the method I had come up with wasn't as good as it could have been. Most noteably it didn't work properly when the dashboard was updated via a partial page refresh. Typically that type of update would result in a non-unique ID exception being thrown when the page was rendered.

Read more...

Simple CRUD Example - Part 2

In the last article I showed you how to create a Debry database and set up a persistence unit. In this article I'll create a very basic CRUD application. Using JSF 2, JPA 2 and EJB 3.1.

Read more...

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.

Read more...

Maven Build Problem with JDK 7

I recently upgraded my system from Java 6 to Java 7. Over all I'm really pleased with the improvement I'm seeing from Java 7 but the upgrade has come with a little cost. For some reason I'm getting a failure in NetBeans when I try to deploy one of the web applications that I'm working on.

Read more...

Checkstyle Rule Suppression

I recently started using Sonar to automatically check the quality of the code I write - turns out it's mostly ok with a few systematically bad points that I will work on improving. One of the problems I faced though was what to do about a barrage of false positives from a small number of the default rules that ship with Sonar. Here's how I fixed the problem.

Read more...

Dynamic Dashboard with PrimeFaces

I do a fair bit of work with the PrimeFaces JSF library and it is, IMHO, the best set of JSF widgets currently available. PrimeFaces has an excellent demonstration site as well which gives examples of the most common usage patterns of each widget available. Occasionally though it's necessary to stray outside what is demonstrated and one such area is with backing beans. In the project I'm currently working on I need to make a dynamic dashboard and this is how I've done it. 

Read more...

Installing Maven on Ubuntu 11.10

For some reason I can't possibly fathom Linux seems to have a downer on all things Java. Packages are available for most things but they are invariably not the latest version which means performing a manual install - not the end of the world but irritating when you can just install a package for most things. This page gives a quick overview of how to install Maven 3 on Ubuntu 11.10 but the same (or a very similar) process will work on most distributions.

Read more...
  •  Start 
  •  Prev 
  •  Next 
  •  End 

Page 1 of 2

Follow Me...

Share this post

Go to top