Re: CORBA question



Diego Sevilla Ruiz wrote:
If you know the locale beforehand, you even can create objects whose
object key includes the locale (say "es_xxx", where xxx identifies _that_
Database object).
Just to verify if I understand it: We encode the locale into the ObjectID.
The Database interface could then be something like:
 
interface Database {

    Object getLocalizedObjref (in string locale);
    string getLocale ();

    any  getValue (in string key);
}
This is as nice a the setLocale/getLocale interface - or are there any
other drawbacks?

- Dietmar



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