Is it possible to send message to Chrome Extension from Java Desktop Application?

Why does Java run slower on a desktop application than on a server application?

  • The response of a Java desktop application is slower than those on JSP and servlets.

  • Answer:

    I assume this is a Java Swing application, and the problem is in UI responsiveness. Swing applications typically feel slow and don't look like native applications, as compared with web applications with usually look  like any other other web app implemented in other languages. This is because rendering web applications is much simpler - especially plain JSP pages which render to HTML without JavaScript. They are rendered using browsers, which have been optimized by "the browser wars" - as compared to Swing (and even SWT, I think?) which have not received much development effort. There may also be inherent problems in Swing rendering, though I am not familiar with these since I don't use develop on Java GUIs. If the problem is not about UI responsiveness, but about processing, it could be because the running in server mode on the server side is already working  on efficient, JIT-compiled code. Besides this, it may not even be a Java problem - but something as simple as, the server has more resources to work on the app than your desktop does.

Miguel Paraz at Quora Visit the source

Was this solution helpful to you?

Other answers

As others say, on modern hardware if your Java GUI program feels slow then it was built wrong.  A decade ago i had many developers tell me the book I  co-wrote solved all their UI performance issues. http://www.amazon.com/Java%C3%82%C2%BF-Platform-Performance-Strategies-Tactics/dp/0201709694/ref=sr_1_1?ie=UTF8&qid=1362528810&sr=8-1&keywords=java+platform+performance+strategies+and+tactics There is a new edition out now (I didnt write it) but Id suggest getting a copy and reading it: http://www.amazon.com/Java-Performance-Charlie-Hunt/dp/0137142528/ref=sr_1_2?s=books&ie=UTF8&qid=1362528859&sr=1-2&keywords=java+platform+performance

Jeff Kesselman

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.