Hosted mode is a strange beast. most of the java code runs in hosted mode as java, and executes faster than it would in your browser (IE), but if you have to cross the java/javascript boundary then you end up with a pretty big performance hit where the code will execute much slower than in a browser. If Smart GWT or GWT EXT depend on a bunch of JSNI or external Javascript libraries then you are likely to see very slow performance in hosted mode due to the need to continuously cross over that java/javascript boundary.
You might want to test in web mode as well to see if you are going to have severe performance problems there before you have too much invested in both of those external frameworks. I'd be more inclined to pick only one (or none) to lessen the chance of inconsistent behavior caused by the interaction of the two. I tend to start as simple as possible and only add additional frameworks when they provide compelling value (not only in GWT but on the server as well). The end result is fewer APIs to memorize, and an application that is easier to maintain. Also you reduce your dependence on outside developers fixing their broken bits before you go live :-/ You certainly don't want to reinvent the wheel if you don't have to, but you also don't want to use a freight train when a motorcycle would do perfectly well. -jason On Apr 28, 2009, at 5:37 AM, Neo wrote: > > I am working on an application and I am using the following components > to build my application : > > - GWT 1.6 > - GWT EXT > - Smart GWT > - IBatis > - MySql (Database) > > My machine has a RAM of 1GB. > > The issue I am facing is that when I test my application in hosted > mode, my system becomes so slow that it almost dies. > > Is it because I am using GWT EXT and Smart GWT together in my > application which is causing it to run slow ? > > However, when I run the same in Web mode (deploying as a WAR) it runs > fine. > > As a result of this I am losing a lot of my development time. > > Any suggestions on how can I overcome this problem. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
