admin@glassfish.java.net

Re: does HostAndPort need to be Serializable?

From: Ludovic Champenois <ludovic.champenois_at_oracle.com>
Date: Mon, 11 Oct 2010 16:42:32 -0700

  On 10/11/10 4:10 PM, Bill Shannon wrote:
> Ludovic Champenois wrote on 10/11/10 03:43 PM:
>> 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.
>
> Hmmm... Any idea how we could find out?
>
> Does anyone who understands the deployment facility know if this is still
> an issue, e.g., with the use of JSR-88 APIs for deployment?
I suspect it would still be an issue, but I do not know the depth of the
88 testing from a client standpoint...

Ludo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>