I'd say Flash or Shockwave. Java will probably be too slow (but they managed to speed graphic processing a lot up lately). Plus Flash and Shockwave are already pretty common for such a use, which means people will a) understand what it is (mostly) and b) you'll probably find more resources dealing with this matter.