admin@glassfish.java.net

Re: does HostAndPort need to be Serializable?

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Mon, 11 Oct 2010 15:43:20 -0700

  On 10/8/10 5:42 PM, Bill Shannon wrote:
> The com.sun.enterprise.util.HostAndPort class, which is largely used
> by the deployment facility, is Serializable. Anyone have any idea
> if that's necessary? A full build and quicklook passes if I remove
> that, so unless someone knows why it needs to be Serializable I'm
> going to remove it. (And make the class immutable.)
I vaguely recall the need for that within old NetBeans, when using AMX
as a client side, as this class was returned somehow via a transitive
closure of some client apis...
It was GF 2 time, so I do not know if this is true in gf 3.

Ludo