There are a number of ways that you can create a Plain Old Java Bean each with their own quirks, benefits and problems, so which is best? The most useful? The safest? The table below compares several POJB construction techniques highlighting the benefits and problems of each one. Just in case you’re wondering, my favourite happens to be the ‘Builder Pattern’ as described in Effective Java by Joshua Bloch, second edition...