RE: Java and Bonobo communication via CORBA


First of all let me say that I appreciate the assistance you've given me and
hopefully forthcoming wisdom :)  This area seems somewhat unexplored to me
(Java -> Bonobo) except for the Monkeybeans project which seems to have
ended before it began from what little source was available.

As far as what I'm trying to do:  Essentially I'm trying to access the
Personal Calendar Server and Personal Addressbook Server components of
Evolution to build a synchronization tool with Java.  From what I can tell I
will probably also need to access the base Storage components in order to
create folders and what not.

So, if I understand you right, I should be able to fork the
activation-client with a certain query (using the OAF query language?  If so
a good pointer would help immensely as all the docs I've found have very
superficial examples) which will yield an IOR to the actual object I  would
like to access.  Once I have this IOR I can communicate with the component
via public CORBA interfaces?

An example as to what to give the activation-client to activate say the PCS
would be really useful.

As far as using the Activation Context idl directly, I was able to query the
available servers and even activate an object, but once I tried to do
anything with that object it would hang indefinitely.  Also, when I updated
to the latest stable version of the Gnome environment the IOR I tried using
(/tmp/orbit-{user}/bonobo-activation-server-ior) could not be parsed by any
IOR parser I found, nor did Java's CORBA like it.

Thanks for your help!


-----Original Message-----
From: Michael Meeks [mailto:michael ximian com]
Sent: Friday, June 20, 2003 11:15 AM
To: Patrick Gerzanics
Cc: gnome-devel-list gnome org
Subject: RE: Java and Bonobo communication via CORBA

Hi Patrick,

On Tue, 2003-06-17 at 01:48, Patrick Gerzanics wrote:
> Thank you for the pointers.  From what you've told me I've been able to
> implement a CORBA interface to the Bonobo Activation Context object.  I am
> able to list all of the different servers available via the directories()

	Uh ? the ActivationContext IDL is totally private - that's an internal
implementation detail - and since the interface is not only private but
also horribly sucky  - I'm hoping it will break sooner rather than later
;-) Also; I think JavaORB doesn't like CORBA_Context stuff so much.

> I've been browsing the bonobo-activation code for a while now trying to
> the answer but I haven't been able to as of yet... any help would be much
> appreciated!

	Ok - so the trick is to know what component you want to activate I
think; fork the activation-client and get it to activate what you want;
then talk directly to that. What are you trying to do in fact ?



 michael ximian com  <><, Pseudo Engineer, itinerant idiot

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]