Browsing All Posts published on »May, 2011«

TechDoc: Using comma separated values instead of JSON or XML for efficient data transfer

May 24, 2011

0

Remote Objects, Sockets and Data When you send data from one Remote Object to another over Sockets, you want this to happen fast and without too much waste. I started using JSON for the HotForestGreen framework, but started to dislike it for the overhead it creates. There is too much redundancy in the way it […]

TechDoc: Method Calls and Events on Remote Objects

May 19, 2011

0

Remote Objects A Remote Object is – in principle – any object that extends the BaseRemoteObject class. Remote Objects are representatives of one single Object, but distributed over multiple locations. Purpose 1: synchronizing objects When the user changes the values on a Remote Object and that change is submitted to the Cluster, we want those […]

TechDoc: Calling remote methods – Sending requests and responses

May 18, 2011

0

Requests and Responses Requests – Are comparable to method calls, but then to all objects in the scope of your applation Responses – Are responses to your Request. Static and on Objects There are two types of remote methods: Static methods¬†– Which are implemented on Class-level and are called via ClassName.myStaticMethod(); Methods on an Object¬†– […]

TechDoc: Securing your SmartSpaces

May 12, 2011

0

What you have when you started: 30 minutes and up and running If you installed your SmartSpaces Cluster for the first time, running one or more Servers and everything happening Ad Hoc via the automatic Discovery Servers, you now have the following: SmartSpaces Servers communication anything to anyone – Blabbering all your secrets to anyone […]

TechDoc: Identifying- and connecting to- SmartSpaces and Sandboxes

May 12, 2011

0

Definitions: SmartSpaces, SmartSpace Hubs and SandBoxes SmartSpace: A location that is wired up and made “smart” and interactive using computing power, sensors and computer controlled devices. (Global) SmartSpace Hub: A Server somewhere on the web to which a Local SmartSpace (Application) can connect. The global connection can be used to: Share data – Over the […]

TechDoc: SmartSpaces-Client design principles and the Core Library

May 10, 2011

0

What is a SmartSpaces Client? A SmartSpaces Client runs on a Client computer and is used to connect to a Smart Space Application Pool. More concrete:when you enter a Smart Space, you want to be able to connect to it. To do this, you open a specific application which is a SmartSpaces Client. What is […]

TechDoc: Simple HTTP server – Serving HTML and binary content in the cluster

May 10, 2011

0

Addressing the issue of serving Remote Controls, web pages and binary data The SmartSpaces servers are very simple Socket Servers. Their goal is to provide a light weight infrastructure to distribute simple Text based messages through. But how do you send images from one SmartSpaces Node to another? Or offer your Clients a Remote Control […]