commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15067] New: - BasicDynaBean, BasicDynaClass not serializable
Date Wed, 04 Dec 2002 13:59:05 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message