Java web app as desktop app, which frameworks should I choose?

Maybe you could take a look at Google's GWT You can write Java code and it will then "compile" it to JavaScript. Using it feels like using a desktop app. Gmail, Google Wave,... have been created using this technology.

Maybe you could take a look at Google's GWT. You can write Java code and it will then "compile" it to JavaScript. Using it feels like using a desktop app.

Gmail, Google Wave,... have been created using this technology. I think you don't even need a webserver, but the compiled result is pure JavaScript + static HML pages. If you then create a Chrome application shortcut it'll really look like a desktop app ;) The only thing is that the learning curve will be a bit steep initially but if you're eager to learn, then it's really cool stuff and you can manage it easily.

Good point for new apps, but it's an already implemented application. About the server: you do need a web server for doing the real data stuff (but it can be anything). – helios Aug 19 '10 at 7:46.

Many Java web apps distributed in this style are done so alongside a lightweight application server or web container such as Jetty or Tomcat. When you click to start the application, this actually starts the container which internally hosts your application. (You're application can be packaged as a WAR internally.) For lightweight databases, possibly look at SQLLite, HSQLDB, or Apache Derby.

These can also be distributed alongside the application. Or maybe you can just collect database credentials as part of your install process and let the customer maintain their own database. The arrangement you describe will involve work and custom scripting.

You're going to the trouble of creating a thin, multi-user, web application and then throwing away the main benefit - the shared single instance. Customers, eh, who'd have them! :-).

Ha, I'm in the same boat. But I have many screens like normal web apps. My suggestions is: 1, take web easy, no framework.

Since there's little web pages, html+jquery+css is recommended; 2, lightweight database is not important. Because mysql does cost little memory, and it's user-friendly, large community. 3, So pay your attention on your search engine, and happy coding.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions