Re: stateless vs. stateful what exactly did I do ?

2008-06-11 Thread Ayodeji Aladejebi
http://www.javaworld.com/javaworld/jw-06-2008/jw-06-wicket1.html?page=1

On 6/11/08, Eyal Golan <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have built a page that is stateless (bookmarkable) that accepts
> PageParameters.
> Now, this page inherits from a page that accepts PageParameters AND another
> parameter.
>
> public final class UserBrowserPage extends EntityBrowserPage {
>   public UserBrowserPage(PageParameters pageParameters) {
> super(pageParameters, Const.LOCALIZATION_USER_PREFIX, "personId");
> ...
>   }
> }
>
> And:
> public abstract class EntityBrowserPage extends StyledSecuredBasePage {
>   public EntityBrowserPage(PageParameters pageParameters, String
> localizationPrefix,
> String localizationPostfix) {
>  ...
>   }
> }
>
> Now, the prefix and postfix are not used for class members.
> They're used to create a Panel in the constructor and that's all.
>
> To my understanding, the UserBrowserPage is stateless.
> I even do in the Application a mounting: mount(new
> QueryStringUrlCodingStrategy("/userBrowser", UserBrowserPage.class));
> Which implies that it is stateless page.
>
> Am I correct?
>
> what happens if a sub class is a stateless page (has no parameters
> constructor or only with PageParameters), but the parent page is stateful
> (gets in the constructor parameters and stores them in class members)?
>
> Hope I was clear :)
>
> Thanks
>
>
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>



-- 
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com


stateless vs. stateful what exactly did I do ?

2008-06-11 Thread Eyal Golan
Hi,
I have built a page that is stateless (bookmarkable) that accepts
PageParameters.
Now, this page inherits from a page that accepts PageParameters AND another
parameter.

public final class UserBrowserPage extends EntityBrowserPage {
  public UserBrowserPage(PageParameters pageParameters) {
super(pageParameters, Const.LOCALIZATION_USER_PREFIX, "personId");
...
  }
}

And:
public abstract class EntityBrowserPage extends StyledSecuredBasePage {
  public EntityBrowserPage(PageParameters pageParameters, String
localizationPrefix,
String localizationPostfix) {
 ...
  }
}

Now, the prefix and postfix are not used for class members.
They're used to create a Panel in the constructor and that's all.

To my understanding, the UserBrowserPage is stateless.
I even do in the Application a mounting: mount(new
QueryStringUrlCodingStrategy("/userBrowser", UserBrowserPage.class));
Which implies that it is stateless page.

Am I correct?

what happens if a sub class is a stateless page (has no parameters
constructor or only with PageParameters), but the parent page is stateful
(gets in the constructor parameters and stores them in class members)?

Hope I was clear :)

Thanks

-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74


Re: stateless vs. stateful

2008-06-10 Thread Eyal Golan
Jeremy - Yes it is :) thanks

Gwyn - thank you too :)

On Tue, Jun 10, 2008 at 10:49 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:

> The two pages that point to that one are
> http://cwiki.apache.org/WICKET/page-maps.html and
> http://cwiki.apache.org/WICKET/page-maps.html.
>
> Nathan's latest Wicket article[*] on JavaWorld also has a discussion on
> stateless vs. stateful which might be useful.
>
> /Gwyn
>
> [*] http://www.javaworld.com/javaworld/jw-06-2008/jw-06-wicket1.html
>
> On Tue, Jun 10, 2008 at 12:48 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
>
> > A while ago there was a thread that had a link to an explanation of
> > stateless vs. stateful pages in Wicket.
> > I can't find the location in Wicket Wiki.
> > There's a page that describes stateless pages in the site
> > http://cwiki.apache.org/WICKET/stateless-pages.html
> >
> > This is one of the pages that the page i'm looking for points to.
> >
> > Can anyone direct me to that page please?
> >
> > --
> > Eyal Golan
> > [EMAIL PROTECTED]
> >
> > Visit: http://jvdrums.sourceforge.net/
> > LinkedIn: http://www.linkedin.com/in/egolan74
> >
>



-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74


Re: stateless vs. stateful

2008-06-10 Thread Gwyn Evans
The two pages that point to that one are
http://cwiki.apache.org/WICKET/page-maps.html and
http://cwiki.apache.org/WICKET/page-maps.html.

Nathan's latest Wicket article[*] on JavaWorld also has a discussion on
stateless vs. stateful which might be useful.

/Gwyn

[*] http://www.javaworld.com/javaworld/jw-06-2008/jw-06-wicket1.html

On Tue, Jun 10, 2008 at 12:48 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:

> A while ago there was a thread that had a link to an explanation of
> stateless vs. stateful pages in Wicket.
> I can't find the location in Wicket Wiki.
> There's a page that describes stateless pages in the site
> http://cwiki.apache.org/WICKET/stateless-pages.html
>
> This is one of the pages that the page i'm looking for points to.
>
> Can anyone direct me to that page please?
>
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>


Re: stateless vs. stateful

2008-06-10 Thread Jeremy Thomerson
This isn't what you're looking for, is it?

http://www.nabble.com/Stateless-vs-Stateful-to17645575.html#a17645575

-- 
Jeremy Thomerson
http://www.wickettraining.com

Tue, Jun 10, 2008 at 6:48 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:

> A while ago there was a thread that had a link to an explanation of
> stateless vs. stateful pages in Wicket.
> I can't find the location in Wicket Wiki.
> There's a page that describes stateless pages in the site
> http://cwiki.apache.org/WICKET/stateless-pages.html
>
> This is one of the pages that the page i'm looking for points to.
>
> Can anyone direct me to that page please?
>
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>


stateless vs. stateful

2008-06-10 Thread Eyal Golan
A while ago there was a thread that had a link to an explanation of
stateless vs. stateful pages in Wicket.
I can't find the location in Wicket Wiki.
There's a page that describes stateless pages in the site
http://cwiki.apache.org/WICKET/stateless-pages.html

This is one of the pages that the page i'm looking for points to.

Can anyone direct me to that page please?

-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74


Re: Stateless vs Stateful

2008-06-06 Thread James Carman
While I'm sure the actual presentation was very informative, the
slides don't really lend themselves to learning much.  Can you fly to
Cincinnati, OH!? ;)

On Fri, Jun 6, 2008 at 10:11 AM, 3B-Workshop <[EMAIL PROTECTED]> wrote:
>
> I had the privilege and the pleasure to present "Stateless vs Statefull" on
> Wednesday.
>
> I have made the slides I used available as a PDF at
> http://www.3b-workshop.com/downloads/Stateless_vs_Statefull.pdf
>
> If you want to ask a question or bend my ear on something I will try and
> answer.
>
> I found the other presentations were not only interesting but also valuable
> and informative.
>
> Come and join the fun at the next event!
>
>
> jWeekend wrote:
>>
>> continuing on from jwcarman's
>> http://www.nabble.com/Re%3A--FINALISED-SCHEDULE--London-Wicket-Event-at-Google-UK%2C-tonight-p17644874.html
>> post   ...
>>
>> We do get questions directly about, or that turn out to be about "stateful
>> vs stateless" in Wicket.
>> One of my colleagues at jWeekend posted
>> http://cwiki.apache.org/confluence/display/WICKET/Pages this  to the wiki
>> a while back and we will post Ian's session from tonight's event too.
>>
>> In the meantime, the "stateless vs stateful" discussion should probably
>> better continue on this thread.
>>
>> Regards - Cemal
>>  http://jWeekend.co.uk http://jWeekend.co.uk
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Stateless-vs-Stateful-tp17645575p17693117.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]



Re: Stateless vs Stateful

2008-06-06 Thread 3B-Workshop

I had the privilege and the pleasure to present "Stateless vs Statefull" on
Wednesday.

I have made the slides I used available as a PDF at
http://www.3b-workshop.com/downloads/Stateless_vs_Statefull.pdf

If you want to ask a question or bend my ear on something I will try and
answer.

I found the other presentations were not only interesting but also valuable
and informative.

Come and join the fun at the next event!


jWeekend wrote:
> 
> continuing on from jwcarman's 
> http://www.nabble.com/Re%3A--FINALISED-SCHEDULE--London-Wicket-Event-at-Google-UK%2C-tonight-p17644874.html
> post   ...
> 
> We do get questions directly about, or that turn out to be about "stateful
> vs stateless" in Wicket.
> One of my colleagues at jWeekend posted 
> http://cwiki.apache.org/confluence/display/WICKET/Pages this  to the wiki
> a while back and we will post Ian's session from tonight's event too.
> 
> In the meantime, the "stateless vs stateful" discussion should probably
> better continue on this thread.
> 
> Regards - Cemal
>  http://jWeekend.co.uk http://jWeekend.co.uk 
> 

-- 
View this message in context: 
http://www.nabble.com/Stateless-vs-Stateful-tp17645575p17693117.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]



Stateless vs Stateful

2008-06-04 Thread jWeekend

continuing on from jwcarman's 
http://www.nabble.com/Re%3A--FINALISED-SCHEDULE--London-Wicket-Event-at-Google-UK%2C-tonight-p17644874.html
post   ...

We do get questions directly about, or that turn out to be about "stateful
vs stateless" in Wicket.
One of my colleagues at jWeekend posted 
http://cwiki.apache.org/confluence/display/WICKET/Pages this  to the wiki a
while back and we will post Ian's session from tonight's event too.

In the meantime, the "stateless vs stateful" discussion should probably
better continue on this thread.

Regards - Cemal
http://jWeekend.co.uk http://jWeekend.co.uk 
-- 
View this message in context: 
http://www.nabble.com/Stateless-vs-Stateful-tp17645575p17645575.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]