[ 
https://issues.apache.org/jira/browse/WICKET-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612284#action_12612284
 ] 

Eric Glass commented on WICKET-1741:
------------------------------------

No, we did not realize that a public constructor is not required for 
serialization, because the code that was used by the BEA WebLogic engineer 
specifically checked for a public default constructor. That is why we have that 
serialization test in our code and all of our developers had to have a public 
default constructor in Objects that needed to be serializable in the session. I 
will take a look at the Wicket SerializableChecker and see how it compares to 
our code. Thanks for your feedback, we will probably remove the requirement for 
a public default constructor in the serialization test.

> Default constructor needed to satisfy BEA WebLogic serialization test
> ---------------------------------------------------------------------
>
>                 Key: WICKET-1741
>                 URL: https://issues.apache.org/jira/browse/WICKET-1741
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-M2
>         Environment: BEA WebLogic 9.2, Red Hat Enterprise Server 5
>            Reporter: Eric Glass
>            Assignee: Igor Vaynberg
>         Attachments: SerTestServlet.jsp
>
>
> The following Wicket classes need to have a default constructor with no 
> parameters to satisfy a BEA WebLogic serialization test. The test is used to 
> make sure that all attributes that are placed into the user's session can be 
> replicated across the BEA WebLogic cluster. This serialization test was 
> provided by a BEA WebLogic engineer and it found that several of the Wicket 
> session attributes did not pass, because of not having a default constructor. 
>  Here are the classes that need to be changed.
> org.apache.wicket.PageMap 
> org.apache.wicket.protocol.http.AbstractHttpSessionStore.SessionBindingListener
>  
> org.apache.wicket.protocol.http.SecondLevelCacheSessionStore.SecondLevelCachePageMap
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to