Maybe creating HBM file the first time and not deleting on close could speed up the next start of program?
On 22 Ott, 16:02, Gerdus van Zyl <[email protected]> wrote: > Well the article talks about Castle NHibernate Facility and I use > activerecord and don't use facilities (no MicroKernel/Windsor), so I > don't know the applicability. > > I have a splash screen with a status that says what it's busy doing > but the 8-10 seconds where it's starting AR is a bit much. > > > > On Thu, Oct 22, 2009 at 2:24 PM, Daniel Hölbling <[email protected]> > wrote: > > Define plain activerecord app.. > > Since ActiveRecord is part of Castle .. :) > > As for Init. You could defer the AR init to a background thread and showing > > the user a disabled UI while you wait for the init to complete. > > I just don't know if this is really worth the effort :) > > Also make sure that you start AR only once. Creating the sessionfactory is a > > costly operation and it should be re-used as much as possible (I guess AR > > does that internally doesn't it?) > > greetings Daniel > > > On Thu, Oct 22, 2009 at 11:48 AM, Gerdus van Zyl <[email protected]> > > wrote: > > >> is that something that can be used by a plain activerecord app not using > >> castle? > > >> On Wed, Oct 21, 2009 at 10:23 PM, Ayende Rahien <[email protected]> wrote: > > >> >http://nhforge.org/blogs/nhibernate/archive/2009/03/13/an-improvement... > > >> > On Tue, Oct 20, 2009 at 4:00 PM, Alessandro C. > >> > <[email protected]> wrote: > > >> >> Initialize activerecord delays application startup. Is there e method > >> >> to speed up AR initialization? > > >> >> Thanks, > >> >> Alessandro- Nascondi testo citato > > - Mostra testo citato - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
