I'd say it's mostly a cache. >From estimates I can say that 80-90% of the time data will be read-only. Only remaining 10-20% will be data manipulation.
My current implementation is that I use setters on data in Session and then persist whole User. Like that: MySession.get().getUser().setFree_land(MySession.get().getUser().getFree_land() - building_houses); Building.this.userRepo.persist(MySession.get().getUser()); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Authentication-and-sessions-the-right-way-tp3866840p3866913.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
