最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Java Swing for Web Development by converting to Javascript - Stack Overflow

programmeradmin3浏览0评论

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
Add a ment  | 

3 Answers 3

Reset to default 2

You 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.

发布评论

评论列表(0)

  1. 暂无评论