Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

I’m looking into screen sharing functionality - i.e. allowing remote users to view your desktop in real time, possibly control it and write annotations (text/drawings) on the shared screen. Something similar to what webex allows in its conferencing software. Preferably a Java-based api, possibly to run from an applet.

Any recommendations on a library/api to use?


VNC is the (except for microsoft) standard for sharing desktops. You need to install software on the machine that is being viewed, but the person logging into it remotely can run a java applet to get to it.

It is designed for a 1-1 kind of use, but there are addons where the stream can be turned into video which could then be streamed to many users.

VNC seems to have a Java based API, there’s a J2ME (Java mobile edition) application here which seems to have a really nice set of API libraries (and is open source, so you can look, and depending on your application, use).

edit: Actually TightVNC also looks really promising as a starting point.

Screenleap provides screen sharing via java-applet. Multiple viewers can connect to one session, but unfortunately remote control is not possible.