« Return to Thread: users, please give us your opinion: what is your take on generics with Wicket

Re: users, please give us your opinion: what is your take on generics with Wicket

by Eelco Hillenius :: Rate this Message:

Reply to Author | View in Thread

> I implemented this by hooking in to serialization, just checking each object
> in ObjectOutputStream.replaceObject and ObjectInputStream.resolveObject.
> Also had to use my own PageMapEntries to get a suitable hook. Might work as
> an idea for your implementation perhaps?

That's a cool idea for individual projects. For Wicket in general
however, the problem would be that it wouldn't work for every session
store (it wouldn't for instance for HttpSessionStore which doesn't
serialize on each request). Also, 1.3's default session store
serializes on each request, but does not reuse that serialized
instance until the back button is used (or if you're doing session
replication and come in through another node I guess). Are you sure
your detachment works like you think it does?

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: users, please give us your opinion: what is your take on generics with Wicket