oblems 1/100 times caused by code in my
> websession implementation.
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>
> Sent: Monday, January 07, 2008 1:54 PM
> To: users@wicket.apache.org
> Subject: Re: Wicket Session and threading
>
> and a
into problems 1/100 times caused by code in my
websession implementation.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, January 07, 2008 1:54 PM
To: users@wicket.apache.org
Subject: Re: Wicket Session and threading
and anyways, who cares, dont even need t
> > }
> > >
> > > -igor
> > >
> > > On Jan 7, 2008 11:11 AM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> > > > Is there an example somewhere that shows how to do this? Or can someone
> > > > paste a snippet here of how to do this? I
AM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> > > Is there an example somewhere that shows how to do this? Or can someone
> > > paste a snippet here of how to do this? I assume a lot of webapps have
> > the
> > > concept of a User object.
> > >
> > &
n Dashorst [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, January 05, 2008 5:17 AM
> > To: users@wicket.apache.org
> > Subject: Re: Wicket Session and threading
> >
> >
> > If you use hibernate, this is not recommended... An entity can only be
> > part of one Hibern
Ok, thanks
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, January 07, 2008 11:32 AM
To: users@wicket.apache.org
Subject: Re: Wicket Session and threading
class MySession extends WebSession {
private Long userId;
private transient User user;
public
? Or can someone
> paste a snippet here of how to do this? I assume a lot of webapps have the
> concept of a User object.
>
> -Original Message-
> From: Martijn Dashorst [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 05, 2008 5:17 AM
> To: users@wicket.apache.org
>
: users@wicket.apache.org
Subject: Re: Wicket Session and threading
If you use hibernate, this is not recommended... An entity can only be
part of one Hibernate Session, and storing the instance in the wicket
session will share it across threads, and hence you'll get hibernate
exceptions.
Note
If you use hibernate, this is not recommended... An entity can only be
part of one Hibernate Session, and storing the instance in the wicket
session will share it across threads, and hence you'll get hibernate
exceptions.
Note that this may not be only a problem in Hibernate, but can also be
a pro
Is there a better way to go
> about this?
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Frank Bille
> Sent: Friday, January 04, 2008 2:02 PM
> To: users@wicket.apache.org
> Subject: Re: Wicket Session and threading
>
> W
On Jan 5, 2008 5:15 AM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> Yeah that makes sense. Since we're sorta on the topic, I thought I would
> ask this question. As the User object goes from being initially registered
> to its profile being edited, how does one update the User in the session and
> th
On Jan 5, 2008 5:02 AM, Frank Bille <[EMAIL PROTECTED]> wrote:
> What about (i)frames with pages being loaded in every one of them at the
> same time?
Or images that are resources for instance.
Eelco
-
To unsubscribe, e-mail: [E
4, 2008 2:02 PM
To: users@wicket.apache.org
Subject: Re: Wicket Session and threading
What about (i)frames with pages being loaded in every one of them at the
same time?
Frank
On Jan 4, 2008 7:57 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> To me it seems like it would be an unusual s
ircumstances does this
> happen?
>
> -Original Message-
> From: Eelco Hillenius [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 03, 2008 10:15 PM
> To: users@wicket.apache.org
> Subject: Re: Wicket Session and threading
>
> You're right, we should mention thi
@wicket.apache.org
Subject: Re: Wicket Session and threading
You're right, we should mention this in WIA. Would you mind leaving a
comment on the author forum?
http://www.manning-sandbox.com/forum.jspa?forumID=328
Cheers,
Eelco
On Jan 3, 2008 11:10 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote
You're right, we should mention this in WIA. Would you mind leaving a
comment on the author forum?
http://www.manning-sandbox.com/forum.jspa?forumID=328
Cheers,
Eelco
On Jan 3, 2008 11:10 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
>
> Eelco Hillenius wrote:
> >> Am I right in concluding t
Eelco Hillenius wrote:
Am I right in concluding that I must make my wicket session thread-safe?
That is, if I want to store an "int" value in the session, I should use
a volatile or AtomicInteger?
Yes. We try our best to make pages/ components as thread safe as
possible, but making the session
> Am I right in concluding that I must make my wicket session thread-safe?
>
> That is, if I want to store an "int" value in the session, I should use
> a volatile or AtomicInteger?
Yes. We try our best to make pages/ components as thread safe as
possible, but making the session thread safe would
18 matches
Mail list logo