EventBus in 2.4

344 views
Skip to first unread message

objectuser

unread,
Aug 2, 2011, 5:41:26 PM8/2/11
to google-we...@googlegroups.com
I was looking at 2.4.0 RC1 and noticed that I had some deprecation warnings with regard to EventBus.

Specifically, PlaceController has deprecated methods using com.google.gwt.event.shared.EventBus, favoring instead com.google.web.bindery.event.shared.EventBus. However, I have noticed that Activity still uses the old location exclusively.  Since both of these are part of the "places" support, it seems like that framework is currently inconsistent.

Is this a situation that will continue through the actual release? If so, is there a recommended approach as to which one to use in a given situation?  I'm guessing we'd just be stuck with the warnings in 2.4.

Thanks.

Y2i

unread,
Aug 2, 2011, 9:03:19 PM8/2/11
to google-we...@googlegroups.com
This mess has started with 2.3.

If I simply upgrade my project from 2.2 to 2.3 without migrating from gwt to web.bindery, the project compiles but fails at run-time failing to locate a proxy when receiving a response from the server.
But upgrading 2.2 to 2.3 with migration from gwt to web.bindery fails to compile.

I'm completely ignoring 2.3 for now and may be ignore 2.4 until all the dust settles down.

Message has been deleted

objectuser

unread,
Aug 3, 2011, 8:30:14 AM8/3/11
to google-we...@googlegroups.com
I have been looking forward to 2.4 for the built-in validation support.  However, those classes still have comments with "don't use this in production" caveats.

Maybe the RC1 tag is premature then and there's going to be more work done.  Or maybe 2.4.0 will just introduce the validation framework in an experimental preview.

Any insight from anyone that's the project would be appreciated.

will0

unread,
Aug 4, 2011, 6:16:43 AM8/4/11
to google-we...@googlegroups.com
I've filed an issue. 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6653

Should be an easy fix - just changing the import in Activity would do it I imagine.

objectuser

unread,
Aug 4, 2011, 8:56:08 AM8/4/11
to google-we...@googlegroups.com
Thanks!  I starred it.
Reply all
Reply to author
Forward
0 new messages