Saturday, October 30, 2010

Re: Announcing GWT 2.1

I haven't read up in detail on the new RequestFactory implementation except for the information I've read here on the group. I gather from what I've read then that RequestFactory is totally data specific and its only intention is to persist any data that has been changed on the client back to the server. It therefore seems, for example, that if it were required for security reasons, for instance, to validate that the request to the server is made with a valid session id and the session was still active that RequestFactory would not be the api to use and that instead the older RemoteService api would be the one to use, correct?

If my assumption is true are there any plans to incorporate security into RequestFactory in a future release? Factoring security into RequestFactory for this common use-case would be a good addition IMHO.

Jeff


On Sat, Oct 30, 2010 at 10:34 AM, Subhrajyoti Moitra <subhrajyotim@gmail.com> wrote:
" RequestFactory does not use GWT-RPC and is not intended to replace it. It is designed specifically for implementing a persistence layer on both client and server. "

http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html




On Sat, Oct 30, 2010 at 7:52 PM, gcstang <gcstang@gmail.com> wrote:
Excellent work!  Some very nice changes.

Upon reading the documents I see that RPC has been replaced with the
RequestFactory will the old RPC's still work or does this mean that I
have to rebuild my whole project?


On Oct 29, 2:02 pm, "Alejandro D. Garin" <aga...@gmail.com> wrote:
> Hi,
>
> The Cell Widgets documentation at:
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html
>
> at the bottom say:
>
> *To Update Data Range Changes from a Cell Widget:*
>
>    1. Create a subclass of
> AsyncListViewAdapter<http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...>
>    .
>    2. Implement onRangeChanged(HasData
> display)<http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...)>
>    .
>       1. Get the current range from the display
>       2. Request the data from the server or data source
>    3. When the data is returned, call updateRowData()
> <http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...)>to
>    push the data to the widgets
>
> but AsyncListViewAdapte<http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...>r
> has been renamed to AsyncDataProvider, right?
>
> On Thu, Oct 28, 2010 at 3:12 PM, David Chandler <drfibona...@google.com>wrote:
>
> > GWT 2.1 is here!
>
> >http://googlewebtoolkit.blogspot.com/2010/10/announcing-final-release...
>
> > --
> > David Chandler
> > Developer Programs Engineer, Google Web Toolkit
> >http://googlewebtoolkit.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-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubscribe@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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Jeff

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment