Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Porting java to javascript : examples, techniques, best practices?

I have made a java application with a swing GUI, that I would like to port to the web using javascript.

I know it is a very broad question and I am aware of the fact this can be done many ways.

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.

Has someone experience with this that can point out the possible caveats? Can someone point out examples, stuff like that?

I realize this might be an too open question, but then again, I am really interested in some case studies or experiences of fellowprogrammers.

Also : if there's a better place to ask this in stackexchange, feel fee to let me know.

UPDATE : After reading answers so far : Is there anybody out here that has experience with WebCream and would like to share it?

like image 982
Peter Avatar asked Oct 12 '22 06:10

Peter


1 Answers

There are some tools that let you convert your Swing application to web application. One of them would be WebCream.
Apart from that, Google Web Toolkit to some extent resembles the way you create application in Swing. It would be a lot of rewriting and conversion won't be automatic, but with a large dose of passion it can be done.

like image 145
Paweł Dyda Avatar answered Oct 13 '22 21:10

Paweł Dyda