Re: Client issues an RPC before another RPC has finished
If you use an MVP pattern this should solve your problem. In this pattern RPCs are issued from the Presenter (Activity in GWT). Each time a user changes Place (URL) the current Activity is destroyed and a new one is created by the new Place for the new view. RPC callbacks that point to the old Activity are discarded silently. More about places and activities in GWT: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces On Friday, November 23, 2012 12:04:13 PM UTC-6, Alexey Panteleev wrote: > > Hello, > > I've been struggling with this issue for a long time, maybe someone could > help me address this finally? > From time to time it happens that a user navigates to one page wich issues > an RPC to our server but then quickly navigates to another page which > issues yet another RPC to the server while the 1st call is still being > processed by the server. In this case I always see some kind of > SQLException on the server side (I guess for the 1st call) and then the > client also receives an unspecified Exception. > > What is the best practice for dealing with these situations? Should I be > canceling the 1st call before allowing the 2nd one? > We use gwt-dispatch, I did not find a cancel method in that framework > yet. Or should I not allow any new calls until the active one has not > finished? > > Do you ever run into this w/ GWT? > > Thanks much, > Alexey > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dmgib3SJ-x8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.
Obviously something is happening. One of the first thing you do as a team lead of a project that is going to "disappear" is to remove the developer relations people and reassign team members, which both have been happening in the GWT team. David Chandler, GWT developer relations left the team (https://turbomanage.wordpress.com/) to work on Android and some GWT developers are now working on Dart as per GWT team lead Bruce Johnson ( http://googlewebtoolkit.blogspot.com/2011/11/gwt-and-dart.html) 1. I think the GWT team is creating a Dart equivalent to GWT then will retire GWT. However talking about this would scare lots of people off so until they have something big to show and a concrete roadmap they keep silent. If GWT was dropped we would hear about but and I think we are in a transition phase. 2. Since Dart is close to Java in many ways, they could offer Dart on App Engine thus providing a complete solution, UI and backend all on Dart, which would be really cool. That would be a replacement for Java on Android which would break the java-lawsuit-leach Oracle has on Google. But it's too silent out there... The community needs to be more vocal about requesting some information and the GWT team needs to be more proactive engaging with us. On Monday, April 2, 2012 10:19:16 AM UTC-5, Joshua Kappon wrote: > > With the rise of the new developers.google.com, and with Google trying to > rally up developers using Google technologies and products, and the rise of > Dart and unclear future of GWT, I think it's about time that Google will > rethink the all "We don't and won't have a road map, and there are no > release dates for new GWT versions" and embrace the GWT developers > community. > > What do you guys think? (if you agree, +1 this) > > Best, > Josh > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SLJ-Yc4OLWwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: heroku for java
I agree with you, GWT + GAE is powerful but lacks a complete framework, however my book will get you started creating real world web apps with these two awesome technologies: http://goo.gl/aPLAl Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: heroku for java
> I wad just reading about heroku today. Any idea if there is something > out there for the java folks ? It would really make sense with gwt and > could integrate all basic services . Gae is one step in that direction > but it could with more integration with the client side . > Opinions? What do you mean with 'more basic services' and 'more integration with more integration w/ the client side' ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Google App Engine Java and GWT Application Development book now available at Amazon
Hello there, I just wanted to inform the community that our book Google App Engine Java and GWT Application Development is now also available at Amazon which is great for US programmers. - http://www.amazon.com/gp/product/1849690448 You can get the advanced datastore chapter for free here: http://theconnectr.blogspot.com/p/sample-chapter.html Enjoy. -- Daniel http://supercobrablogger.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Happy New Year to the GWT team
Best wishes for 2011 to the GWT team. GWT is awesome. Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
New book: Google App Engine Java and GWT Application Development
hi, Some of you may be interested in a book I co-authored that has just been published: "Google App Engine Java and GWT Application Development" by Amy Unruh and Daniel Guermeur, from Packt. The book describes many of the techniques and approaches used to develop GAE+GWT applications, and includes an app developed throughout the book as a running example. It has a particular focus on some of the technologies useful for building scalable social-media- oriented applications, including: MVP and UiBinder, using the Channel API for push, using Facebook and Twitter OAuth for authorization, JDO, the Task Queue, transactions and transactional tasks, Memcache, and XMPP. This is the Packt Publishing link: - http://link.packtpub.com/5XWJBI Book blog w/ table of contents: - http://theconnectr.blogspot.com/ Enjoy. -- Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Spring Roo & 2.1 M3, not recommended if you haven't tried.
Kevin, My experience with Roo is not much better than yours. I was able to get it running after an hour or so. It is an early stage product that shows potential. Not ready for prime time yet. Regarding UiBinder: If it turned you off 'immediately' as you said, you have not created enough widgets in GWT yet, because once you'll have done that, you'll see that creating widget UI in XML with UiBinder is the simpler and more efficient way. Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Rocks!
Thank you to the GWT team to make a piece of software without compromise: - GWT is easy to understand - It makes you do the right things - Dev environment has a 2 sec. learning curve - Has an Ultra optimized technology under the hood - It's open source. Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Multi-Watch GWT
Would be great to be able to add Youtube urls as opposed to embedded code. Drag and drop of the video containers would be great too. On Jun 4, 5:12 pm, dodo dard wrote: > Hello, > > I would like to show you my project MultiWatch GWT > :http://multi-watch.appspot.com/ > > It use GWT / GAE technology. > > Please give me your opinion about this project. It isn't final yet, > because I'm waiting feedback from user. > > Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT2.1, validation and roo
Based on what I have seen in the code, validations (e.g @Length(4,10) ) are used in the client and in the backend, which is ideal. > 1a) The examples in the wave show validation annotations for the > model properties, e.g. something like > @Length(4,10) > I assume that the validation code generated from these > annotations will be reusable on the server? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What is the largest GWT program anyone is running?
Adwords has been redone using GWT. Google Wave is built with GWT. Adwords is a big application and loads fast. Daniel On May 4, 4:19 pm, Paul Stockley wrote: > Even though we are going to use code splitting aggressively, I am > wondering at what point things just break due to the sheer amount of > javascript that is downloaded over time. The application we are > porting to GWT is very large and I am afraid at some point we will > break the browser (especially IE). Does anyone have any real world > experience with large GWT applications? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Input request for migrating big Rails app to GWT + Java backend
Hello there, We have a big Rails app that works great (www.mojohelpdesk.com) but we think that GWT / AJax apps is the way forward. Therefore we are contemplating adding GWT for the UI and doing some backend work in Java (e.g Tomcat). We cannot do a full switch at once so GWT+Tomcat need to be phased in progressively. Any advise, best practices and gotchas on how what challenges we are facing would be appreciated. Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: MVP question
>... > Another way of sending model information is using interfaces. For > instance, if I knew that I would be displaying a speedometer for car > and a bike (and maybe something else as well), I would have done > something like: > > new SpeedoMeterView(Vehicle vehicle)... > > where Vehicle is an interface with methods that provide access to all > properties that the SpeedometerView needs. This is a good way as well. Interfaces are like magic bullets sometimes... -- supercobra -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: MVP question
> My first take away was that their were a few rules: > 1) Presenters don't know about specific GWT widgets (so that you can > test your business logic without GWTTestCase) > 2) Displays don't know about business logic > 3) Displays don't know about application logic > 4) Displays don't know about model classes > > I still consider the first 3 to be sacrosanct, but I have pretty much > dropped rule #4. Dropping rule #4 maybe saving time and make the code read more clearly but it will still tie your display class to a model - which may be OK - if you accept the constraints. For example if you have a speedometer display and want to display your car speed new SpeedoMeterView(Car car)... then you won't be able to display a motorbike speed: new SpeedoMeterView(Bike bike) ... unless you modify your SpeedoMeterView which is why you should NOT use a model but use primitive types instead: new Speedometer(float mph) Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: "gwt-servlet.jar" being deleted at each Eclipse startup after upgrading to gwt 2.0
I have the same problem. This triggers a CVS / SVN check-in / update process that is unnecessary (and long). On Jan 20, 11:05 am, Erik Uzureau wrote: > Yes, this does seem to be a good workaround. > > I can't, however, convince anyone on my team to use it, because: > > 1) Not all members of my team are experiencing this issue. (At a > larger level, I think the general lack of interest by the community in > this thread means it's not happening to everyone out there either) > > 2) Although it doesn't specifically say you need to have gwt- > servlet.jar checked in to source control, the explanation > here:http://www.google.com/url?sa=D&q=http://code.google.com/webtoolkit/do... > does leads one to believe so. > > 3) To my knowledge, there has been no official acknowledgement by gwt > team either that this is a recognized problem or that the workaround > proposed is a "valid" solution. (apologies in advance if someone on > this thread *is* on the gwt team...I didn't know) > > To me, the strongest argument here is #1 -- if not everyone is > experiencing this issue then it must be something related to the > configuration/setup of those of us that are affected. So maybe the > workaround would fix the problem for us but break it for others. > > Erik > > On Jan 20, 4:02 am, aliman wrote:> We have this > problem. Our workaround has been to delete gwt- > > servlet.jar from the svn repository, then add it to svn:ignore on the > > WEB-INF/lib folder. Eclipse then re-adds the jar when it launches, but > > that's ok because it's ignored w.r.t. svn. > > > We have a separate production build system using maven, which pulls > > the gwt-servlet.jar out of the appropriate maven repository at build > > time. > > > Cheers > > > Alistair > > > On Jan 19, 10:43 am, Jeff Schnitzer wrote: > > > > As you discovered... as soon as you think you've solved the problem, > > > it happens again :-( > > > > I also experience this problem with some of the GAE jars. It's > > > really, really annoying but I don't have time to rebuild my eclipse > > > install from scratch... > > > > Jeff > > > > On Mon, Jan 18, 2010 at 4:20 PM, Erik Uzureau wrote: > > > > A colleague of mine seems to have found a solution to this: > > > >http://code.google.com/p/google-web-toolkit/issues/detail?id=4463#c7 > > > > > On Jan 18, 5:54 pm, Erik Uzureau wrote: > > > >> The real question here is what do we all (on this thread) have in > > > >> common that the rest of the world doesn't. > > > > >> Surely we are more than 6 people in the world using GWT 2.0 are we > > > >> the only people withgwt-servlet.jar > > > >> in /WEB-INF/lib in our SVN repositories or is it something else? > > > > >> Also, if it is patently wrong to have thegwt-servlet.jarfile in the / > > > >> WEB-INF/lib file... then why are we clearly > > > >> told to put it there here: > > > > >>http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... > > > > >> ?? > > > > >> Frustrated, > > > >> Erik > > > > >> On Jan 9, 5:01 am, Jeff Schnitzer wrote: > > > > >> > Ignore this solution. The problem is simply intermittent and didn't > > > >> > happen a few times. It nevertheless persists. > > > > >> > Jeff > > > > >> > On Fri, Jan 1, 2010 at 1:58 PM, Jeff Schnitzer > > > >> > wrote: > > > >> > > Amazingly, you're right. The solution is to ignore the message, > > > >> > > *don't* revert your files back, and restart Eclipse again. The > > > >> > > plugin > > > >> > > deletes the files the first time, then recreates them the second... > > > >> > > and since the new files are identical to the old, svn is happy. > > > > >> > > Jeff > > > > >> > > On Fri, Jan 1, 2010 at 12:18 AM, John OConner > > > >> > > wrote: > > > >> > >> I found the culprit. The eclipse plugin preferences file explicity > > > >> > >> namesgwt-servlet.jaras a file that it must copy to the web-inf/lib > > > >> > >> directory. So I assume that SVN (and for me it is Perforce) see > > > >> > >> that > > > >> > >> action as an attempted delete as well. I resolved this myself by > > > >> > >> removing that file from web-inf/lib and just letting the plugin > > > >> > >> have > > > >> > >> its way. I tried deleting the offending line from the preferences > > > >> > >> file, but the plugin insisted on replacing that line on startup. > > > >> > >> Odd, > > > >> > >> if an application *insists* on a very specific setting regardless > > > >> > >> of > > > >> > >> user intentions or my own preferences, why put the setting in an > > > >> > >> external preferences file to begin with? > > > > >> > >> Regards, > > > >> > >> John O'Conner > > > > >> > >> On Dec 31 2009, 7:05 pm, Jeff Schnitzer > > > >> > >> wrote: > > > >> > >>> I have this exact same problem... it's quite annoying. > > > > >> > >>> It also sometimes happens with GAE jars. Every time I restart > > > >> > >>> Eclipse > > > >> > >>> I have to go through my projects and revert any deleted jars. > > > > >> > >>> Jeff > > > > >> > >>> On Wed, Dec 30
Re: External jars
Add it to YourProject.gwt.xml -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
How to create a development/debug and production setup
Hello there, I recently deployed inadvertently a debug version of our game typrX (typing races at www.typrx.com - try it it's fun). It was quickly corrected but I know it may happen again. After digging on Google I found some info how to create 2 different profiles, one for development mode that has the debug functions and one used for deployment. Here is what I found from a Google IO presentation. Does anyone have this setup? Can someone explains how to run this? MyAppCommon.gwt.xml ... ... MyAppDebug.gwt.xml ... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.
Intercepting clicks and keystrokes on the whole page
Hello, We released a typing race application (GWT + GAE): http://app.typrx.com. In order to try to prevent cheating with copy / paste type of approach, we'd like to intercept when a user is clicking on a page and display a 'no no' alert. Any advise would be appreciated. Daniel -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.