Storing typesafe data in SharedObjects - Example

  1. click some times on [Add Foto]
  2. click [Store in LSO]
  3. in READ application click [Read from LSO]

In the first example data are read from LSO but cannot be interpreted as objects of the expected type. So no data will be shown.

The second example uses [RemotClass()] metatags to add class informations to the SharedObject and thus let the READ application correctly show the read data.

Object without registered type aliases (the usual case)

Object with registered type aliases

The difference in the application code is only a small one but the effect saves you a lot of time.