You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Igor Lobanov <cr...@mail.ru> on 2003/08/09 12:42:18 UTC
Re[2]: [components] - lazy loading...
Hi Howard and fellow geronimos,
Another idea.
During deployment/updating of the application, its classes could be
analyzed to produce dependencies list, let's say, at package
granularity. This list could be persisted and later used to determine
wich of services are needed by deployed application.
Reluctant loading :)
Igor Lobanov
Original Message (Saturday, August 9, 2003, 6:30:09 AM)
> Are you saying, a specialized class loader that links loading
> of certain classes to activation of related services?
> Or the simpler proposition, that services be lazily created as needed.
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
>> -----Original Message-----
>> From: Jules Gosnell [mailto:jules@coredevelopers.net]
>> Sent: Friday, August 08, 2003 5:03 PM
>> To: Geronimo Developers List
>> Subject: [components] - lazy loading...
>>
>>
>> a chat with a friend, Shane, at work today produced these thoughts....
>>
>> Imagine that rather than having a set number of
>> configurations which all
>> load every service at startup, Geronimo could load just the
>> components
>> needed to provide the services required by your deployables...
>>
>> e.g. you are doing web development, so when you start
>> Geronimo it just
>> loads the webcontainer component and deploys your webapp. You webapp
>> decides to load a javax.naming class so the JNDI service is
>> brought on
>> line, it loads a javax.mail class and looks up a mail service
>> in JNDI -
>> the mail service is brought up... etc
>>
>> If we could lazily load services as required, startup time would be
>> greatly reduced, footprint as well, and the distributions
>> complexity too
>> - since we could just ship everything and only what was
>> needed would be
>> used.
>>
>> just a thought to file away for a rainy day :-)
>>
>>
>> Jules
>>
>> --
>> /*************************************
>> * Jules Gosnell
>> * Partner
>> * Core Developers Network (Europe)
>> * http://www.coredevelopers.net
>> *************************************/
>>
>>