Wicket @SpringBean doesn't create serializable proxy
Posted
by
vinga
on Stack Overflow
See other posts from Stack Overflow
or by vinga
Published on 2010-12-28T08:49:53Z
Indexed on
2010/12/28
8:54 UTC
Read the original article
Hit count: 192
@SpringBean
PDLocalizerLogic loc;
When using above I receive java.io.NotSerializableException. This is because loc is not serializable, but this shouldn't be problem because spring beans are a serializable proxies.
On the page https://cwiki.apache.org/WICKET/spring.html#Spring-AnnotationbasedApproach is written:
Using annotation-based approach, you should not worry about serialization/deserialization of the injected dependencies as this is handled automatically, the dependencies are represented by serializable proxies
What am I doing wrong?
© Stack Overflow or respective owner