You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/12/04 14:59:05 UTC

DO NOT REPLY [Bug 15067] New: - BasicDynaBean, BasicDynaClass not serializable

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15067>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15067

BasicDynaBean, BasicDynaClass not serializable

           Summary: BasicDynaBean, BasicDynaClass not serializable
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: pr@webapp.de


When using these classes in a J2EE environment, they need to be serializable.

Adding implements Serializable to BasicDynaBean solves the problem.
BasicDynaClass requires implements Serializable, make the Constructor instance 
variable transient and implement a readObject() method for deserialization.

See the attached, fixed sources.

Yours
Peter Rossbach, Roman Stumm

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>