Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Activation: b-a-s problems.: msg#00031

freedesktop.dbus

Subject: Re: Activation: b-a-s problems.

On Thu, 2004-01-08 at 12:12, Mikael Hallendal wrote:
> Hmm .. I was thinking that maybe this shouldn't be handled by the bus
> itself. If you need to have applications that needs to be started again
> with another set of environment variables it can be handled by a factory
> service.

Now this is getting somewhere; going right back to my initial
contention - my feeling is (and what would I know ;->) that it's best if
the component itself _and not the activator_ grokks the scope of the
activator to determine what should be activated.

As a rule of thumb; I think a good way to do it is to shove ~a chunk of
the environment from the client into the environment of the 1st time
forked service[1]. Subsequent activations / service fetches from
different clients would then want to again pass their environment.

What we (are) finally iterating towards in b-a-s is that the component
specifies in the .server file what environment variables it cares about;
but this has it's issues. Another problem is that not all scope
necessarily (current screen eg.) can necessarily be extracted from the
environment in an app that can render to multiple screens, play to
multiple audio devices etc. Either way, as Mark says - many of the worst
problem we suffered are hidden by a per-session daemon.

> This will keep the bus simple as was one of the design goals and also
> gives every app the possibility to override this functionality (ie.
> GConf should only have one daemon running).

I must admit that (reading b-a) it seems one of the design goals was to
introduce excessive, unwanted / tested / thought-through complexity,
which I'm still trying to get rid of.

Regards,

Michael.

[1] - assuming that your activation system is in fact going to cope with
non-live objects that need hydrating from disk.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo