简体   繁体   中英

What are the options to replace Java Swing GUI?

We have a desktop client application developed in Swing. This application interacts with backend server using Servlet.

The new requirement is to make a web based client. I have read about JavaFX, Flex, ExtJS, etc.

I would like to know which solution is best fit to replace a swing application? Does anyone have any experience of doing the same?


(EDIT based on comments)

The application is heavy weight in terms of widgets. Ofcourse we will redesign a bit when making a web based client.

You could consider using the Google Web Toolkit, GWT, to make a web based client. Making a user interface in GWT is somewhat similar to doing it in Java Swing, but the final result is a dynamic web client.

You know Swing can run in a web page! There are many other options including PHP, ASP, Ajax etc etc. How "heavy" is the Swing app ie are there lots of widgets? This is a very open ended question!

Since you already know Swing and you're supposed to make a web based client/interface, you should consider Apache Wicket which structurally has lots of similarities with Swing (one of its original devs was in a similar situation as you are now).

If you need to have heavyweight functionality which isn't easily done with Ajax and other such web technologies, I'd suggest a combination of Flash/Flex for the UI mainly because there's a lot of people out there who know how to use both of those technologies.

Quick edit: Also see this answer to another question , it may help you understand the real issue at hand a bit better.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM