1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Checklist</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="Bonobo Activation API Reference Manual">
<link rel="up" href="tutorial.html" title="Bonobo Activation tutorial">
<link rel="prev" href="tutorial.html" title="Bonobo Activation tutorial">
<link rel="next" href="configuring.html" title="Configuring Bonobo Activation">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="tutorial.html" title="Bonobo Activation tutorial">
<link rel="chapter" href="configuring.html" title="Configuring Bonobo Activation">
<link rel="chapter" href="architecture.html" title="Bonobo Activation Architecture">
<link rel="chapter" href="query-langage.html" title="Bonobo Activation Query Langage">
<link rel="chapter" href="server-xml-reference.html" title=".server file format reference">
<link rel="chapter" href="migrating.html" title="Migrating from gnorba to Bonobo-activation">
<link rel="chapter" href="api-reference.html" title="API Reference">
<link rel="article" href="lgpl.html" title="GNU Lesser General Public License">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="tutorial.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="tutorial.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Bonobo Activation API Reference Manual</th>
<td><a accesskey="n" href="configuring.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="checklist"></a>Checklist</h2></div></div></div>
<p>
If you plan to use Bonobo Activation for your own CORBA servers, you should use the following simple
checklist.
</p>
<div class="itemizedlist"><ul type="disc">
<li><p>
Create a unique UUID for your CORBA server by using libuuid and uuidgen
(both are available by anonymous ftp from tsx-11.mit.edu in
<code class="filename">/pub/linux/packages/ext2fs</code>. These are part of the
<code class="filename">e2fsprogs</code> package.
</p></li>
<li><p>
Create a proper <code class="filename">.server</code> file for your server describing its
IDL interfaces, its main properties and the way it is to be activated.
</p></li>
<li><p>
Call <code class="function">bonobo_activation_init</code> (make sure you do not initialize twice by calling
<code class="function">bonobo_activation_is_initialized</code>). Then, call
<code class="function">bonobo_activation_active_server_register</code>
to register yourself as running to the Bonobo Activation daemon.
</p></li>
</ul></div>
<p>
If you are a client willing to activate a few servers, it is a little simpler: you
just must make sure you call the <code class="function">bonobo_activation_init</code> function and you can then
call <code class="function">bonobo_activation_query</code> or <code class="function">bonobo_activation_activate</code> or
<code class="function">bonobo_activation_activate_from_id</code>.
</p>
<p>
Here, put a real-life example of a client and a server.
</p>
<div class="sect2" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="id3105188"></a>The non-local case</h3></div></div></div>
<p>
Here, present how to use setup the system for the non-local case.
If anyone is willing to write this part, mail gnome-components-list@gnome.org.
in the meantime, you can have a look at the code in gnome-libs HEAD from cvs.
(I never had time to go look at it)
</p>
</div>
</div>
</body>
</html>
|