On Thu, May 12, 2011 at 10:11 AM, Carsten Ziegeler <[email protected]> wrote:
> Am 12.05.11 06:29, schrieb Justin Edelson:
>> Well, I was trying to keep in the spirit of lazy loading and I see I
>> actually messed up by making preload.bundles default to "en" (had
>> intended to keep it blank by default).
>>
>> Proxies seem like overkill to me and you lose the automatic
>> notification provided by services registration/unregistration - I'd
>> rather just register all available ResourceBundles on startup. WDYT?
>>
> Yeah, sounds good to me - I just thought about proxie as this would keep
> the lazy loading approach and maybe reduce startup time etc.
> I haven't looked at your new implementation yet - as long as it is not
> increasing startup time I'm fine :)

It looks like simply running the query will add a few seconds to
startup, so in r1102729, I made preloading optional. Proxying won't
help because we don't know the set of bundles to proxy without doing
the query. We could proxy the default locale bundle, but that's
inching back to preloading by configuration.

Justin

>
> Regards
> Carsten
>
>
> --
> Carsten Ziegeler
> [email protected]
>

Reply via email to