[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need more detail.
From: |
James Thompson |
Subject: |
Re: Need more detail. |
Date: |
Fri, 27 Oct 2000 09:59:39 -0500 (CDT) |
>
> If CORBA is actually being used, it should be very easy to answer this
> question.
>
Only if you've work with or on geas :) GEAS currently uses s static IDL
to define the communication to the GEAS server. That interface provides
access to the object defined in GEAS.
Python code snips (from the demo available in CVS - under objectserver)
def add_country(self):
c = self.database.newObject("country")
c.flush()
c.setField("id", raw_input("entry country ID : "))
c.flush()
c.setField("name", raw_input("entry country name: "))
c.flush()
def show_invoices(self):
try:
invoices = self.database.loadAll("invoice")
for i in invoices.objects:
print "invoice: ", i.getField("contents")
c = i.getReference("customer")
if c != None:
print " customer: ", c.getField("name")
print
except GEAS.ServerError,ex:
print ex.detail
So at this time it's more of a traditional application using CORBA as it's
communication protocol.
At least that my understanding of it. We're a pretty small team starting
to push pretty hard. That doesn't give us any time to really get into the
guts of the other modules. Yes, this is a bad thing. But it is
the reality of the situation.
It does seem possible that the server could be extended to provide DII
interface. Andrew would have to comment on this.
James
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561
Kansas State University Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
- Need more detail., Alejandro Imass, 2000/10/26
- Re: Need more detail., Alejandro Imass, 2000/10/27
- Re: Need more detail., Alejandro Imass, 2000/10/27
- RE: Need more detail., Reinhard Müller, 2000/10/27
- Re: Need more detail., Alejandro Imass, 2000/10/27
- RE: Need more detail., Reinhard Müller, 2000/10/27