Requestfactory in its current form is perfect if your just manipulating entities(finderrs, insert, delete, modify) but not dealing with lots of business logic on the server side. I believe in GWT 2.1.1 it will probably be a pretty good replacement as it will add features like caching and being able to hook to any service objects instead of just entities.
On Fri, Oct 8, 2010 at 1:43 PM, Jeff Larsen <larse...@gmail.com> wrote: > David, > > Can you explain some of the benifits/drawbacks of using the > RequestFactory vs gwt-dispatch. I haven't taken the time to really > investigate the new RequestFactory, but currently I've got gwt- > dispatch wired into my app, I'm just curious if the RequestFactory > paradigm will be better for my current usecase. > > -Jeff > > On Oct 8, 12:31 am, Rud <rudmerr...@gmail.com> wrote: > > Okay, got it to work but it feels ugly. > > > > In my 'east' I put a class SimpleDisplayUi which is a UiBinder class. > > Its ui.xml just has a SimplePanel. > > > > The trick was in SimpleDisplayUi.showActivityWidget(IsWidget widget) > > to do > > > > simplePanel.setWidget(widget.asWidget()); > > > > It seems there are two many layers from DockLayoutPanel to 'east' to > > SimpleDisplayUi to SimplePanel and finally to the actual panel(s) that > > can be changed. > > > > There are a Activity classes that seem superfluous like SimpleActivity > > just to create SimpleDisplayUi. It doesn't get created or called. > > > > I'll look at cleaning this up but getting SimpleDisplayUi working was > > painful so I'm not sure there is much leeway. Just look at its > > declaration: > > > > public class SimpleDisplayUi extends Composite implements > > SimpleActivity.SimpleDisplayUi, Display { } > > > > Rudhttp://mysticlakesoftware.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<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://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.