[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] CCE Libraries
- Subject: Re: [cobalt-developers] CCE Libraries
- From: Federico Siri <siri@xxxxxxxxxxxxxxx>
- Date: Tue Feb 19 16:39:26 2002
- Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> > Now, my question is:
> > "Is it possible (and, if so, how?) to use these libraries to write
> > external applications that send commands to CCEd and CODBs class object
> in order to
> > carry out an AUTOMATIC transfer of data and objects from an appliance to
> > another (just like the Sun Cobalt Migration Utility)?"
>
> I'm not clear what you mean. CCE is designed to represent data in an
> agnostic way (it does some validation for you, if you ask, but
> interpreting
> the meaning of the data is entirely application specific). What do you
> mean by automatic transfer of data? Please provide a scenario.
Hi Tim,
thanks for your reply. Here is a possible scenario:
"An ISP has implemented a web site for e-commerce of web hosting services. The
site runs a quite complex java servlet application, based on an Oracle database,
accessed via jdbc. After order confirmations, the java application has to ask
one of the cobalt boxes in the Server Farm to actually create the domain the
custumer acquired."
I would expect that the CCE libraries allowed to do something like:
- cobaltConnect(cobalt-server, cobalt-password);
- if ok, domainCreate("example.com", "100MB", "admin-login",...);
A more difficult task could involve the possibility to start a domain transfer
for a customer which is changing his ISP. Considering that the previous ISP were
also using a Cobalt box, I would like to do something like:
- fromServer = cobaltConnect(cobalt-fromserver, cobalt-user, cobalt-password);
- toServer = cobaltConnect(cobalt-toserver, cobalt-user, cobalt-password);
- domainTransfer(cobalt-fromserver, cobalt-toserver, example.com);
How can be performed operations like that using CCE in Cobalt?
Is there any other platform allowing this kind of interfacement from external
applications?