You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Bernd Fondermann <be...@googlemail.com> on 2009/07/06 11:09:49 UTC

Re: Immutable objects [WAS: Re: [jira] Closed: (VYSPER-92) Stanzas don't get enriched...]

On Mon, Jul 6, 2009 at 11:06, Emmanuel Lecharny<el...@apache.org> wrote:
> Hi guys,
>
> here, I would go in Bernd's way. Immutable objects have another additional
> advantage over standard objects : they are thread safe, in any case.
>
> I would suggest to read Joshua Bloch's Effective Java, Itrem 13, for all the
> pros and cons of Immutable objects.

http://en.wikipedia.org/wiki/Immutable_object

is helpful, too.

  Bernd