title: Porting java to javascript : examples, techniques, best practices?
body: <p>I have made a java application with a swing GUI, that I would like to port to the web using javascript.  </p>
  
  <p>I know it is a very broad question and I am aware of the fact this can be done many ways.</p>
  
  <p>This means indeed clientside. The data would be supplied by php calls using ajax and the way data is kept (files, database, yet other services) is of no importance.  </p>
  
  <p>Has someone experience with this that can point out the possible caveats?
  Can someone point out examples, stuff like that?</p>
  
  <p>I realize this might be an too open question, but then again, I am really interested in some case studies or experiences of fellowprogrammers.  </p>
  
  <p>Also : if there's a better place to ask this in stackexchange, feel fee to let me know.</p>
  
  <p>UPDATE  : After reading answers so far : Is there anybody out here that has experience with WebCream and would like to share it?</p>