Does someone have a single snippet of code that shows how the Restlet-
GWT API would work with the GWT tutorial w/RPC in StockWatcher?
Pseudo code would be fine.
http://code.google.com/docreader/#p=google-web-toolkit-
doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStartedRPC
That is, what would the -Async and Service interface look like, and
what part, if any, do annotations like
@RemoteServiceRelativePath("stockPrices") play when using Restlet-GWT?
Thanks.
On Sep 8, 2008, at 6:14 AM, Rob Heittman wrote:
Restlet's GWT (Server) Extension, being just a wrapper around
ServerServlet that can also pass calls to the GWT Hosted Mode
adapter, is one small class file that has been in 1.1 milestone
builds for almost a year now. My company uses it in a number of
large production and in-development applications. These do not use
Restlet-GWT API yet (though we are starting to port), but use GWT's
built in facilities or JSNI to talk to a Restlet-powered server.
The Restlet-GWT API (the port of the core Restlet API to work under
GWT 1.5) was a much larger undertaking afflicted by a lot of design
complexity, the moving target of GWT 1.5, and requiring the wisdom
and time of Jerome, the Restlet project founder, to accomplish.
- Rob
On Sun, Sep 7, 2008 at 11:18 PM, Mark Petrovic
<[EMAIL PROTECTED]> wrote:
Thank you for the kind and speedy response, Rob.
I intend to spend the week, and then some, on this subject, and
would be happy to receive any guidance or code you can muster. In
return, I can post my newcomer questions and results.
I'm curious: how is it that the hosted mode Restlet GWT Extension
is heavily exercised, but the Restlet-GWT API is not? And what is
the difference again?
Mark
On Sep 7, 2008, at 8:10 PM, Rob Heittman wrote:
Hi Mark, I've been working on a longish example ("Chesstlet") that
pulls together a number of Restlet and GWT techniques, but this
won't be ready until November, due to some commitments I have in
early October that complicate my availability. In the meantime,
maybe the best thing to do would be to pull together a small
illustration based on the test case already in the Restlet source
-- just beefing it up to do some useful things beyond hello,
world. I will try to get that together (or ask someone else at the
office to do so) in the next day or two.
The Restlet-GWT API is still largely unexercised (as opposed to the
Restlet GWT Extension, which is just the hosted mode wrapper for
ServerServlet, which is very heavily exercised) so we are
discovering all sorts of new issues as we try it out. So you
should probably be working from a Restlet snapshot to pick up all
the latest commits. I think the latest important thing was an
infinite recursion that Thierry removed. Now that GWT 1.5 is final
and we don't have to chase a moving target any more, it will be
easier to stabilize this.
- Rob
On Sun, Sep 7, 2008 at 10:48 PM, Mark Petrovic
<[EMAIL PROTECTED]> wrote:
Good day. I'm new here, but not new to Java and its supporting
technologies.
I'm embarking on teaching myself GWT using Restlets, neither of
which I have programmed before, although I have read the
documentation for each. I know that at the time the Restlet-GWT
code was released, a whopping 6 weeks ago :-), there were no
examples illustrating its use. Perhaps there are snippets of
examples the community can share now, some weeks after the
release. If you have such examples, I would be quite grateful to
study them, as would be, I'm sure, other newcomers to these
subjects. I am particularly interested in running the server side
using the Restlet NET connector.
All the pieces are in front of me; at this point a few well placed
examples would help bring it all together.
Thank you.