Structured DataType for a simple variable
The advantages of the second approach are, that the data is accessed in a transactional context and the structured DataType can be constructed in a way that the Server does not have to convert the data and can pass directly to the specific Client that can directly use them.
The disadvantages are that the generic Client might not be able to access and interpret the data or has at least the burden to read the DataType Definition to interpret the data. The structure of the data is not visible in the AddressSpace; additional Propertiesd escribing the data structure cannot be added to the adequate places since they do not exist in the AddressSpace. Individual parts of the data cannot be read without accessing the whole data structure.