admin管理员组文章数量:1387347
Good day!
With regards to my previous question about Java Swing being used for web development, I have a job interview today and they told me that their pany uses Swing then convert it to javascript then deploy it on the web.
Can anyone explain this to me better? What books / websites should I study so that I could understand how this is done. Is this a good / mon practice?
Thank you very much.
Good day!
With regards to my previous question about Java Swing being used for web development, I have a job interview today and they told me that their pany uses Swing then convert it to javascript then deploy it on the web.
Can anyone explain this to me better? What books / websites should I study so that I could understand how this is done. Is this a good / mon practice?
Thank you very much.
Share Improve this question edited May 23, 2017 at 9:58 CommunityBot 11 silver badge asked Mar 23, 2011 at 9:11 newbienewbie 15k33 gold badges108 silver badges149 bronze badges 1- research GWT. It isn't Swing-based though, which is a good thing imo... – Travis Webb Commented Mar 25, 2011 at 0:08
3 Answers
Reset to default 2You can take a look at CreamTec's AjaxSwing. I've played around with it several times and it's the only product I know so far that takes your existing Swing GUI and converts it into something displayable in your browser.
Whether this is good practice or not is not really easy to answer. This solution works well as long as your application does not need to scale largely. CreamTec states that their solution is suited for about 50 clients IIRC. The markup generated by AjaxSwing can in no way be called semantic but that is a mon thing with these kinds of generators. You can try AjaxSwing pretty easily since it does not require you to do much configuration but my remendation is to use a dedicated web framework if you want higher scalability.
It sounds like GWT also. Granted that is not what the person said, but if it was a recruiter, they may been confused on the exact technology.
AjaxSwing is a run-time tool and needs a server license for mercial use.
You might want to try Mia Transformer www.mia-software.. 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 piler 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 http://swingweb.sourceforge/swingweb/. Have not checked it out though.
Will keep you posted. If you e across a workable solution please share.
本文标签: Java Swing for Web Development by converting to JavascriptStack Overflow
版权声明:本文标题:Java Swing for Web Development by converting to Javascript - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744561981a2612816.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论