Matej Knopp wrote:
How can you ensure that a session will be closed? What if user got
disconnected? Will the session hang open until the http session timeout?
Another problem that comes to my mind is that hibernate session is not
thread safe. Using one session through multiple request you could get
into concurency problems if not locking it property.
Okay, this seems not to be true. The wicket session is synchronized, so
two request can't touch one session simultanously.
But the first issue stays.
-Matej
Is this really simpler than using detachable models?
-Matej
Peter Veentjer - Anchor Men wrote:
What didn't you use in swing? No models? that is not really possible you
have to use models in swing (and also in wicket)
----------------
I don`t think you understand my reply. I have no problems with models,
but I have problems with wrappers around objects that controle
attaching/detaching. It makes simple things complex and that is what
I`m trying to avoid. If this could done transparently (with metadata
for example) I wouldn`t have much trouble with it.
And how do you want to detach if you don't have wrappers around you're
hibernate objects/lists that do the deattachements?
------------------------------------
Well.. maybe no detachement at all. If you use a long session, objects
don`t have to be detached because the session is not closed. It is
only disconnected.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user