I am uisng java 1.4 and spring 2.5 ,I cannot use annotations, can this be done in jdk 1.4 and spring 1.1 or 2. 5
francisco treacy-2 wrote: > > use @SpringBean and don't mark the field transient! > > it can actually be serialized without problem because what's injected > is not the actual bean but a proxy of it. > > francisco > > On Mon, Aug 25, 2008 at 8:38 PM, James Carman > <[EMAIL PROTECTED]> wrote: >> Have you tried using the @SpringBean annotation? Check out this WIKI >> page for more information: >> >> http://cwiki.apache.org/WICKET/spring.html >> >> On Mon, Aug 25, 2008 at 2:34 PM, miro <[EMAIL PROTECTED]> wrote: >>> >>> I am using wicket, spring, hibernate. Wicket wants all my objects to be >>> serialized. One on the object in my wicket component is a spring bean >>> and >>> it has a setter injection to non serializable property so I made this >>> property transient, the spring bean is a singleton so only one >>> instance is >>> created,now suppose wicket serialized my spring bean and deserialized, >>> the >>> transient property remain null , how to handle this ? >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/wicket-serlization--impact-on--singleton-spring-bean-with-a-transient-property-tp19149229p19149229.html >>> Sent from the Wicket - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/wicket-serlization--impact-on--singleton-spring-bean-with-a-transient-property-tp19149229p19149432.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
