This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have a Swing application which i wish to open and run through a browser. I found a tool called AjaxSwing but this is not Open Source. Does anyone know an Open Source tool or a way to run Swing application on a browser.
AjaxSwing does not let you run Swing applications in the browser. It converts the app into HTML and JavaScript that runs in the browser. Not the same thing at all.
If that's what you want, that's what GWT does as well, but for free.
If you want to run Java in the browser, that's what Applets are for.
If you want pull Swing apps to client machines for execution, that's what Java Web Start is all about.
Since i already have a complete Swing application am looking for an easy way of bring it on to web so that anyone can open and run the application through a browser.
I read that AjaxSwing converts the app into HTML/JavaScript. But unfortunately as said this is not free.
Does GWT has the functionality to convert the existing Swing app to web app or do i have to start from scratch?
If you want people to be able to start the existing app from a browser (but not run inside the browser), then Java Web Start may be the choice for you.
Jiss Elizabeth
Greenhorn
Joined: Jul 28, 2004
Posts: 19
posted
0
Do you mean that GWT has an API for this migration of Swing app to web through a browser?
-- Jiss
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
No. GWT lets you create HTML/JavaScript web GUIs in a Swing-like manner - by writing Java code (instead of HTML/JavaScript, which GWT creates for you).
I think at this point you need to read up a little on GWT.
Jiss Elizabeth
Greenhorn
Joined: Jul 28, 2004
Posts: 19
posted
0
Hi,
...thank you!
I think AjaxSwing ll be a better option in my case as i already have a Swing app. Incase of GWT i need to start from scratch is what i understood.
Incase of Java Web Start there is this overhead of installing it on every machine where i wish to run my app.
If you are planning the applet approach, depending on what your application does, you will need to take care of the security issues. This link might help you get started on that.