How does RuneScape work?

Runescape just runs on Java plugins.