We want to open a socket which will stream information about a sensor in real time, we then want to display the data using the built in applets. Is there a feasible approach to doing this with the built ins?
The best way (at present) is to use the xMII "simulator", which allows you to create virtual sensor "tags" that can be populated by either a randomness algorithm or from an external application. Client applications can then query the latest values of these sensors.
You'd need to write a little stub program that would periodically invoke a URL to xMII to "write" or "update" the tag values.
To the client applications (applets, business logic services), it would look like any other data source.