Tag: Java
-
JavaFX 2.0 and Maven
I decided to have a bit of a play with JavaFX 2.0 the other day as we have a project coming up that may be a good candidate for using it. My first impression of JavaFX 2.0 is generally very positive, it’s a lot like Swing with the sharp edges knocked off. I’d like to…
-
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…
-
Local transaction already has 1 non-XA Resource
While developing a bit of functionality that transferred data from one database to another in my current JEE 6 web application I came upon the exception below. Surprisingly for exceptions from deep within system this one is actually quite informative if you understand what it’s saying: the key is knowing that XA means distributed transaction. Transactions can be…
-
Creating a Connection Pool in GlassFish 3.1
Database connection pools are by far the simplest and quickest way to get a database connection from a JEE application. This article describes how to set up a new connection pool in GlassFish 3.1. Version 3.0.x of GlassFish used configuration screens that were very similar but in a slightly different place in the menu.
-
Swing Look and Feel Choices
Java on the desktop has, for the most part, been a bit of a joke. For years it has suffered from clunky badly supported development and a small range of absolutely awful look and feel options. That seems to be changing slowly but I do wonder if it’s not too little too late. Either way…
-
JSF 2.0 Resouce Handling
One of the new features I really like in JSF 2.0 is the resource handling system that has been added. When I first heard about it I wondered why they had bothered but once I’d been using it for a while I realized what a good idea it is.