Re: [gnome-db] [Fwd: Re: Communications in Projects...]



On Thu, 2001-12-06 at 17:01, Adam Tauno Williams wrote:
> 
> >>3. something (?) starts oafd
> >>4. oafd registers itself with gnome-name-service
> >>5. application looks up the components they want via gnome-name-service 
> >>(using the IOR in the X property).
> >>6. application asks OAF to create component XYZ
> >>7. application receives IOR of new component
> >>8. subsequent application<->component chatter is via "pure" CORBA(?)
> >it is:
> >1. client contacts oaf and asks it to load a component
> >2. oaf looks for the component
> >3. oaf returns the loaded component to the client
> 
> Alright,  I'll dive into the OAF documentation.
> 
> Step #3 means that OAF returns an IOR, yes?
> 
no, it returns a reference to the created object. That is, a
CORBA_Object.

> >>If this is correct I'd need to create some way for a gnome-name-server
> >>to get
> >>started without an X session and in the security context of the httpd
> >>process.
> >as I said, it's not correct. You have to talk to OAF, or add tou GDA
> >the code to save the IOR in some known place so that you can pick it up
> >from  PHP. But this will make the PHP bindings only work if a GDA
> >provider is up and running.
> 
> I think talking to OAF is the correct, and more flexible, way.
>
yes, and really, doing a PHP binding for OAF won't be too difficult,
since there are not really many functions to wrap.

 
> >>Just wondering if I am near the mark.
> >>>>If I have XML-RPC/SOAP/CORBA bridging middle-ware,  I should then
> >>>>be able to access the GDA provider via XML-RPC?  (I'm currently using
> >>>>XML-RPC for other stuff).
> >>>oops, that is a very nice idea. In theory, you should just have a
> >>>gda-xmlrpc-srv component which listens to a SOAP/XML-RPC port and
> >>>maps XML requests/responses to GDA CORBA calls.
> >>>Or, another way would be to have this gda-xmlrpc-srv a client thing
> >>>and have a SOAP/XML-RPC server respond to the calls (via HTTP+XML)
> >>>from the gda-xmlrpc-srv.
> >>>That would be a really nice thing to experiment on. Please keep us
> >>>informed if you start working on something like this
> >>I was thinking of it a the other way around.  I have an application
> >>(written in PHP, but that doesn't really matter), that supports XML-RPC. 
> >>I have middle-ware that supports XML-RPC, CORBA, etc... protocols,  either 
> >>in a messaged format or a "through" persistant connection.    So if I can 
> >>get the CORBA object up and running, and acquire it's IOR, I hopefully 
> >>won't have to bother GDA at all as  I'm hopeless as a C programmer.
> >>(Performance may stink in such an arrangement, but this is just an
> >> experiment).
> >yeah, sounds nice also. A SOAP/XML-RPC server that translates the XML
> >to GDA calls. Maybe you won't need to deal at all with the IOR, since we
> >could make that server just a plain SOAP/XML-RPC thing, and you, from
> >PHP, just talk SOAP to it.
> 
> It sounds promising anyway,  I'll try to hack on it this weekend.
> _______________________________________________
> 
nice :-)

cheers
-- 
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/



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