Another anti-pattern: replacing components while not invalidating the
page. This gives problems with the back button. If you do not want *any*
backbutton problems, you should work paged based (like Hangman does).
The disadvantage of this is that the re-use of highlevel components like
panels will be harder.
Eelco
Eelco Hillenius wrote:
I tried it some time ago, and did not find leaks. I would be a good
idea for more people to do some serious profiling.
Anti-patterns would be using too many internal classes (I just found
out); you'll end up with spaghetti code. And - though not an
anti-pattern - be carefull about your component's instance variables
(including objects you use in anonymous classes) as they are stored in
the session.
Eelco
Jonathan Carlson wrote:
Has anyone tried running a Wicket app over a long period of time to
make sure that old objects are garbage collected properly?
(Preferably with something like JMeter hitting pages the whole time)
Are there any anti-patterns to avoid?
- Jonathan
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
Katun Corporation -- Celebrating 25 Years of Service
www.katun.com
**********************************************************************
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user