I wonder why there's no questions about stateless ajax here, so here's
my one :-)

Recently we've done some performance tests and obviously we have to make
most of our pages stateless to support large number of active user
sessions. That would not be a big problem if we didn't use a lot of
ajax. So we created StatelessAjaxBehavior which can process ajax
requests when using stateless pages, but the code is ugly:

1. First we look for the page instance in the session. If it's found -
process ajax as usual.
2. Create page instance and render it using MockHttpServletResponse
3. The look for a component listener using
AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
4. Call the listener

So could the support for stateless ajax be included in the wicket core?

-- 
Andrew Klochkov


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to