1. CHANNELS: I have not found any in-depth information about channels, e.g. how to create them ...
2. DATA which can be sent by messaging:
- The RTM docs say the following about the "send" method: Messaging.send(channels, data): Send any data (primitive type, or compound data structure) ...
Now the general statement about data exchange capabilities is the following (on the SmartClient Server Summary page):
Does this general statement hold for the data handled with SmartClient's messaging, too ? That is can one for example push an arbitrary Java object data structure to the browser where it is automatically converted to its corresponding JavaScript object data structure ? That would be a quite powerful realtime data exchange engine then ...
2. DATA which can be sent by messaging:
- The RTM docs say the following about the "send" method: Messaging.send(channels, data): Send any data (primitive type, or compound data structure) ...
Now the general statement about data exchange capabilities is the following (on the SmartClient Server Summary page):
Code:
Automatic Bi-directional Java < - > JavaScript serialization and translation Provides a powerful, type-safe data transmission mechanism for moving data between a Java server and the browser. Any Java objects, including Java Beans, POJOs, Java Collections, XML DOMs and all Java primitives, with any level of nesting, can be automatically serialized and delivered as JavaScript Objects to the SmartClient client-side components. JavaScript Objects existing in the browser can likewise be automatically transmitted to a Java Server and translated to Java Objects, with any level of nesting and automatic preservation of primitive types.
Does this general statement hold for the data handled with SmartClient's messaging, too ? That is can one for example push an arbitrary Java object data structure to the browser where it is automatically converted to its corresponding JavaScript object data structure ? That would be a quite powerful realtime data exchange engine then ...
Comment