This content has been marked as final.
Show 1 reply
-
1. Re: Lots of component objects are created and destroyed per web hit
lvdberg Sep 1, 2010 7:47 AM (in response to josdaniel)Hi,
don't worry about the creation of objects unlesss you have - for instance - heavy DB-load actions within the creation process. When a seam-component is referenced somewhere on you page (directly used or not), it creates the component. he only things which slows down that process is the log, under normal circumstances a component is already known to Seam and the
creatio
is a kind of asuper
construction action. Try to avoid any code blocks with complex initialization which takes time. Shift that to astart
action when you really need the component in your page. (For instance the beginning of a long running conversation)Leo