Convert Java Swing to web-based Application

后端 未结 9 1056
再見小時候
再見小時候 2020-12-24 08:14

I have Java swing application. I want to convert to web base application. What is easiest way? Is there any tool available, preferably open source code?

相关标签:
9条回答
  • 2020-12-24 08:41

    There is a new open source project webswing.org. It is a web server where you deploy your swing application. The application is rendered to html canvas through websockets, so you get the exact same look and feel like on desktop.

    0 讨论(0)
  • 2020-12-24 08:45

    AjaxSwing is a run-time tool and needs a server license for commercial use.

    You might want to try Mia Transformer -parts of the website are in French-. They change Swing Java code to GWT Java Code and GWT changes it to Javascript and then if you want you can use Google V8 compiler for faster execution. Of course it is not 100%. We are going to try it for a large project and see if it works.

    The other link provided to us was SwingWeb. Have not checked it out though.

    Will keep you posted. If you come across a workable solution please share.

    0 讨论(0)
  • 2020-12-24 08:47

    There is actually a magic tool you could use to convert desktop apps to web apps: AjaxSwing

    But note that it can only convert very simple swing apps. If you use complex renderers, you may not get right results. Also its not free.

    0 讨论(0)
  • 2020-12-24 08:47

    You can think about Java Web Start it's not converting the application but you can use your application as web based...

    0 讨论(0)
  • 2020-12-24 08:47

    This tool: http://sourceforge.net/projects/j-wings/ is a API compatible replacement for Swing but runs in an servlet engine renders to HTML.

    0 讨论(0)
  • 2020-12-24 08:47

    I know this is late but Webswing lets you run Java Swing applictions in your webbrowser.

    0 讨论(0)
提交回复
热议问题