Yes and that's the reason I added in the initial response:
Where will the main 'engine' for the robot run ? on the robot's
controller ? In
any case, for this use case you needn't touch java at all IMHO. All
client side
stuff can be done using javascript.
This was not about controller, that would in any case be independent of UI. Controller would be running on Robot and UI would be running inside a browser. UI needs to talk to this controller and JS is not the best option for that. JS restricts UI to http request/response based communication.
Communication within browser, is best handled in Java/Flex/Flash.
-Shamit