Historias
Slashboxes
Comentarios
 
Este hilo ha sido archivado. No pueden publicarse nuevos comentarios.
Mostrar opciones Umbral:
Y recuerda: Los comentarios que siguen pertenecen a las personas que los han enviado. No somos responsables de los mismos.
  • Re:Enhanced code?

    (Puntos:0)
    por pobrecito hablador el Viernes, 06 Julio de 2012, 13:44h (#1314351)
    ¿Alguna referencia?
    [ Padre ]
  • Re:Enhanced code?

    (Puntos:3, Informativo)
    por Grohl (16098) el Viernes, 06 Julio de 2012, 14:34h (#1314355)
    ( http://barrapunto.com/~Grohl/bitacora | Última bitácora: Lunes, 09 Marzo de 2015, 09:07h )


    https://developers.google.com/web-toolkit/articles /using_gwt_with_hibernate [google.com]

    When you take an object and turn it into a Hibernate object, the object is now enhanced to be persistent. That persistence does not come without some type of instrumentation of the object. In the case of Hibernate, the Javassist library actually replaces and rewrites the bytecode for these objects by persistent entities to make the Hibernate magic work. What this means for GWT RPC is that by the time the object is ready to be transferred over the wire, it actually isn't the same object that the compiler thought was going to be transferred, so when trying to deserialize, the GWT RPC mechanism no longer knows what the type is and refuses to deserialize it.
    --
    "En teoría no hay diferencia entre teoría y práctica. En la práctica, sí la hay."
    [ Padre ]
    • Re:Enhanced code? de pobrecito hablador (Puntos:0) Viernes, 06 Julio de 2012, 14:49h