Hi

 

I have some pages where I use Hibernate beans to hold the contents of my wicket componts, for example if I have a listbox then each dataItem is a Hibernate bean. There seem to be a performance problem with this when I have postbacks to the page, when using AJAX it does not seem to be a problem. Further more it does not seem to have anything to do with my wicket code(might be the way I’ve designed my wicket page(conceptually) though).

 

I have a kind of feeling that wicket on postbacks goes through all components and their childs, and sniffs them?

 

When testing without using hibernate the performance issue are gone. I guess a way to fix the issue is to instantiate POJO’s from the hibernate beans to ensure that no hibernate listeners or whatever they use aren’t transferred to GUI.

 

Whats your 2 cents on this?

 

Regards Nino

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to