1 2 Previous Next 15 Replies Latest reply on Jan 23, 2007 3:15 PM by starksm64 Go to original post
      • 15. Re: serializable KernelDeployment
        starksm64

         

        "adrian@jboss.org" wrote:
        "alesj" wrote:

        Ok, for MetaData there is no problem.
        What do we do with JavaBeans (which now fail - since with wildcard test's we use plain java.lang.Object)?


        Just change the test to use something like the following class:

        package org.jboss.test.....;
        
        import java.io.Serializable;
        
        public class SerializableObject implements Serializable
        {
         private static final long serialVersionUID = -1L;
        }
        


        We do have the ability to serialize non-Serializable objects, and this notion should be coming in as an annotation/external metadata passed to the serialization layer rather than a tagging interface that has to be seen in the type system in my view. Exposing Serializable in the mc apis is too onerous a contract.


        1 2 Previous Next