Salut, dans ToPIA, on a : class EntiyXXXAsbtract implements Serializable, EntityXXX; et interface EntityXXX extends TopiaEntity; et interface TopiaEntity; Est-ce qu'on ne devrait pas plutot avoir : class EntiyXXXAsbtract implements EntityXXX; et interface EntityXXX extends TopiaEntity; et interface TopiaEntity extends Serializable; ? -- Société Code Lutin http://www.codelutin.com tel : 02 40 50 29 28 fax : 09 59 92 29 28
On Tue, 10 Feb 2009 19:06:25 +0100 Arnaud Thimel <thimel@codelutin.com> wrote:
Salut,
dans ToPIA, on a :
class EntiyXXXAsbtract implements Serializable, EntityXXX; et interface EntityXXX extends TopiaEntity; et interface TopiaEntity;
Est-ce qu'on ne devrait pas plutot avoir :
class EntiyXXXAsbtract implements EntityXXX; et interface EntityXXX extends TopiaEntity; et interface TopiaEntity extends Serializable;
?
+1, je me suis tjs demandé pk l'interface n'était pas Serializable car je trouve pas ça logique mais j'ai jamais osé en parlé :) Un entité qui n'est pas serialisable, je comprends pas comment c'est possible ? genre on peu sauver en base mais pas serialisé ? c'est bizarre -:D En plus quand on les utilisent dans des models swing, ça craint (si c'est pas serializable). Donc un grand +1 Tony.
participants (2)
-
Arnaud Thimel -
tony Chemit