It's not an issue if you accept this format for all clients. I don't want to do
that. I would need the ConverterService ultimately GwtConverter
JsonConverter for a json client, etc... to be responsible for serialization
otherwise when I use the same server code with a different client, then
Hi Guillaume
Generally speaking, in GWT you would like to have the constraint violations
thrown the Editor framework on the client side. But there are of course some
constraint violations that can only be checked server-side, e.g. unique
violations that need a query to check the validity.
For
PS: deserialization on the client is not an issue. Every constraint violation
is identified by a unique constant.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3071376
The answers are here:
http://code.google.com/intl/hu-HU/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypesand
here:
http://gwt-code-reviews.appspot.com/47807 and here:
http://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-marriage.html
In short: JDO
Even if I factor out an interface without the annotations and return this in
the according ServerResource, it seems as if the GWT serializer still
serializes protected fields on the implementation. Has anyone else seen
this?
Cheers,
Joscha
On Wed, Aug 24, 2011 at 04:47, Joscha Feth
Well, in fact the problem was ... the development mode of GWT.
As I could not understand the problem, I tried to deploy the web app on tomcat
and then the performances were almost the same for json and gwt serialization...
Strange ...
But the performance remains surprising : in speed tracer I
Hello Ben,
that's very surprising. I personnally work on a GWT project for a customer.
We handle quite big objects and the GWT serialisation/deserialisation is not
a problem.
In order to see what happens, did you try with a classic HTTP client, such
as curl, or a clientResource (from the jse
Hello, thank's for the quick answer !
I tried with IE, FF and Chrome. The result is the same.
I profiled the client with the Chrome plugin Speed Tracer : I thought there was
no ambiguity. But I had a doubt because chrome is working strangely on my pc.
I then created a simple restlet client in
Hello Ben,
How many objects are listed in the Operations structure? Could you perhaps
send a sample test case?
Best regards,
Thierry Boileau
Hello, thank's for the quick answer !
I tried with IE, FF and Chrome. The result is the same.
I profiled the client with the Chrome plugin Speed Tracer
Hello Kevin,
I've updated the issue with a sample application that works for me
(http://restlet.tigris.org/issues/show_bug.cgi?id=1144). Could you have a look
at it and check if it is right for you too?
Best regards,
Thierry Boileau
--
Technologies ~ http://www.noelios.com
-Message d'origine-
De : Kevin Daly [mailto:ked...@sqm.ca]
Envoyé : mercredi 26 mai 2010 21:33
À : discuss@restlet.tigris.org
Objet : RE: Restlet GWT.
Ok, the workaround of running everything in Tomcat does not solve the
problem for this one, so
Here is the stacktrace and the class that I was trying to serialize /
deserialize.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2613741
stacktrace
Description: Binary data
/*
* To change this template, choose Tools
Never mind it seems to be related to this
976 DEFECT P2 Google Wjlouvel STARTE
GWT 2.0 dev mode not supported under Firefox
--
Ok, the workaround of running everything in Tomcat does not solve the problem
for this one, so it is maybe not related.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2613746
-Message d'origine-
De : Ivan Jaramillo [mailto:i...@elniuton.com]
Envoyé : mardi 23 mars 2010 23:33
À : discuss@restlet.tigris.org
Objet : RE: Re: Restlet GWT: Problem with HTTP POST request in Firefox
See this for firefox OPTIONS method and the comon same-origin policy:
https
: Restlet GWT RPC 2.0 ** SOLVED **
I got it working, the issue was dependencies.
I needed to include the gwt extension in classpath of my Servlet Based
application. I also needed to add the GWT 2.0 libraries to the Servlet app.
I will write up a document with examples so that anyone else that has
Hello Niclas and all,
sorry for not having reported that before, but this bug has been fixed by the
2.0m7. You should be able to plainly use IDEA.
Best regards,
Thierry Boileau
--
I'm still seeing these on the latest snapshots as well. As a workaround, I've
been using the GWT version bundled with the example serialization application
from the wiki, but using the snapshot versions for other editions. That seems
to work fine for me, at least in the short term.
Valdis
On Sat, Jan 16, 2010 at 11:42 PM, Valdis Rigdon valdis.rig...@gmail.com wrote:
I'm still seeing these on the latest snapshots as well. As a workaround,
I've been using the GWT version bundled with the example serialization
application from the wiki, but using the snapshot versions for other
And suddenly a new one showed up (I don't use ServiceList AFAIK);
[INFO] [ERROR] Errors in
'jar:file:/Users/niclas/.m2/repository/org/restlet/gwt/org.restlet/2.0-SNAPSHOT/org.restlet-2.0-SNAPSHOT.jar!/org/restlet/client/util/ServiceList.java'
[INFO] [ERROR] Line 66: The method
It's now compiling for me. The errors don't seem to cause any issues. I guess
it will all be worked out in the next milestone.
see this post in the bug tracker.
http://restlet.tigris.org/issues/show_bug.cgi?id=1004
My last post is how I got it all working.
It's still pretty annoying to have to drag in servlets. Is it really too
hard to extract the important parts of GwtShellServlet into a Restlet?
--tim
On Wed, Jan 13, 2010 at 8:46 AM, Kevin Daly ked...@sqm.ca wrote:
It's now compiling for me. The errors don't seem to cause any issues. I
guess
On Wed, Jan 13, 2010 at 9:46 PM, Kevin Daly ked...@sqm.ca wrote:
It's now compiling for me. The errors don't seem to cause any issues. I guess
it will all be worked out in the next milestone.
see this post in the bug tracker.
http://restlet.tigris.org/issues/show_bug.cgi?id=1004
Not sure
That's what I thought - thanks for the quick confirmation !
Thierry Boileau wrote:
Hello,
yes, for the quick answer.
The interface, that is to say the resources and their methods,
implemented using jax-rs is completely unaware of the kind of client.
You should be able to request such
As a follow up, something between the Dec 17th build and the Jan 6
build has broken the GWT version. I have the same project using the
JARs from the serialization example
(http://wiki.restlet.org/docs_2.0/13-restlet/181-restlet/303-restlet.html)
in Eclipse and the project will compile via GWT.
I got it working, the issue was dependencies.
I needed to include the gwt extension in classpath of my Servlet Based
application. I also needed to add the GWT 2.0 libraries to the Servlet app.
I will write up a document with examples so that anyone else that has this
problem can fix it.
I
Thanks for your response.
I've used the latest build and I still have the same problem.
So here's what I have found, the code fails in JavaScript with this call.
eval({\ca.sqm.gwt.client.tabs.websitea.TestCase\:{\firstName\:\Daly\,\lastName\:\Kevin\,\age\:41}})
If I try to run this code in
Hi,
The Javascript is generated by GWT directly, so it could be a GWT
issue, but we would first like to reproduce your issue. Could you
enter a bug report in our issue tracker and attach a simple project
reproducing the issue?
http://www.restlet.org/community/issues
Best regards,
Jerome Louvel
[mailto:ked...@sqm.ca]
Envoyé : jeudi 31 décembre 2009 17:35
À : discuss@restlet.tigris.org
Objet : RE: Restlet GWT RPC 2.0
To give some more insight on the problem. When I run the code in the
debugger the code fails on line 229 of ClientAdapter.java.
This line.
userCallback.handle(request
To give some more insight on the problem. When I run the code in the debugger
the code fails on line 229 of ClientAdapter.java.
This line.
userCallback.handle(request, response);
I've looked at it in the debugger and there's no method to handle in the Proxy
Class that I provided, the
Using GWT 1.7.0, all GET method calls work in Hosted mode and IE, but Firefox
*still* uses OPTIONS. I suggest promoting this issue to blocker for the GWT
version of Restlet.
Using (taken from JAR manifest):
Name: org.restlet.gwt
Implementation-Title: org.restlet.gwt
Implementation-Version: 2.0
Hello,
I've made a successful test with the current snapshot. Could you give it
a try?
If it still fails, could you send us a reproductible test case?
Best regards,
Thierry Boileau
Using GWT 1.7.0, all GET method calls work in Hosted mode and IE, but Firefox
*still* uses OPTIONS. I suggest
Hello all,
This bug has not been reproduced with the current snapshot available.
best regards,
Thierry Boileau
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2409331
Hi,
I'm using Restlet 2.0 M5, and also tried with the Restlet 2.0 snapshot and
I've the same problem, Firebug shows that it calls the OPTIONS method instead
of POST when using compiled mode in Firefox. Any ideas? This should be fixed on
M5?
Thanks!
Hi Johannes,
Thanks for clearly exposing your issue.
Regarding the missing entity, you should try again with Restlet 2.0 M5 which
fixed this bug (it used to work in hosted mode but not in compiled mode). If
it still doesn't work, please let us know.
Regarding transparent serialization, we are
Hi Daniel,
We suggest that you try again with Restlet 2.0 M5, this should be fixed.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org/
http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com/
http://www.noelios.com
Any ideas?
It is urgent. Could it be because my RESTlet is deployed to a server and the
GWT client runs on localhost and there are some security constraints?
mstricker wrote:
Hi,
I have never worked with GWT or Restlet GWT but now have the need to
consume a simple Restlet service from
d'origine-
De : mstricker [mailto:m...@maxstricker.it]
Envoyé : mardi 16 juin 2009 10:39
À : discuss@restlet.tigris.org
Objet : Re: Restlet GWT - ChallengeResponse null on server side
Any ideas?
It is urgent. Could it be because my RESTlet is deployed to a server and the
GWT client runs
:* mardi 16 juin 2009 22:28
*À :*
disc...@...http://n2.nabble.com/user/SendEmail.jtp?type=nodenode=3088700i=1
*Objet :* Re: Restlet GWT - ChallengeResponse null on server side
Hi,
thanks for your reply. I waited the whole day.
Here my configuration:
Apache Tomcat/6.0.18
JVM Version
Hi Damian,
This is due to an issue in the embedded Tomcat server used in GWT Hosted
Mode. When sending a redirect, you must (ignoring the Restlet warning to
the contrary) supply some sort of entity. Otherwise, the hosted mode Tomcat
server will replace it with a generic 200 response. It's not
Hi Damian,
if you want to keep your resources intact, just add a filter as the root
Restlet of yourRestlet application which tests the Response status in
the afterHandle method.
best regards,
Thierry
Hi Damian,
This is due to an issue in the embedded Tomcat server used in GWT
Hosted
Hi Rob,
That worked a treat. Thanks! :-)
Code which looks like the following ensures a Status and LocationRef
are picked up in Restlet-GWT:
@Override
public void storeRepresentation(Representation entity) throws
ResourceException {
addSomething();
getResponse().setEntity(new
Thank you.
Mark
On Oct 17, 2008, at 11:26 AM, Thierry Boileau wrote:
Hello Mark,
I've updated the sample application and its description:
http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/144-
restlet.html
Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~
Hello Mark,
I've updated the sample application and its description:
http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/144-restlet.html
Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org http://www.restlet.org/
Noelios Technologies ~ Co-founder ~
Thierry, good day.
Is there sample code available showing how to use the HTTP Digest
authentication scheme?
On Oct 14, 2008, at 7:08 AM, Thierry Boileau wrote:
Hello Mark,
the current sample GWT application has been updated with
authentication, and usage of JSON and XML representations.
Hello Mark,
the current sample GWT application has been updated with authentication,
and usage of JSON and XML representations.
See http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/144-restlet.html.
Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org
Thank you!
Mark
On Oct 14, 2008, at 7:08 AM, Thierry Boileau wrote:
Hello Mark,
the current sample GWT application has been updated with
authentication, and usage of JSON and XML representations.
See http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/144-restlet.html
.
Best regards,
Wow. Thanks. Will find time to take a look at it.
Dr. Duong Batien
DBGROUPS and BudhNet
On Tue, 2008-10-14 at 16:08 +0200, Thierry Boileau wrote:
Hello Mark,
the current sample GWT application has been updated with
authentication, and usage of JSON and XML representations.
See
Hi all,
I'm working on this
(http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/144-restlet.html)!
I have to complete the existing sample basic application with
authentication. I hope to finish it today or tomorrow. I'll keep you
informed.
Best regards,
Thierry Boileau
--
Restlet ~ Core
Just wanted to post (had talked to Mark offlist about this) that I am
working on an official example, but won't be done till later this month
when I get back from travel. Happy to canonize anybody's practical
experience in the meantime ...
On Mon, Oct 6, 2008 at 6:32 PM, Mark Petrovic [EMAIL
: discuss@restlet.tigris.org
Objet : Re: Restlet-GWT basic authentication possibility...
Sounds good.
/Rasmus
On Wed, Sep 10, 2008 at 8:26 PM, Rob Heittman [EMAIL PROTECTED]
wrote:
Sounds perfectly reasonable. I think Jerome's still on vacation -- I'll try
my hand at implementing it.
On Wed
Sounds good.
/Rasmus
On Wed, Sep 10, 2008 at 8:26 PM, Rob Heittman [EMAIL PROTECTED]wrote:
Sounds perfectly reasonable. I think Jerome's still on vacation -- I'll
try my hand at implementing it.
On Wed, Sep 10, 2008 at 1:26 PM, Rasmus Agerholm [EMAIL PROTECTED]wrote:
Would it be
Sounds perfectly reasonable. I think Jerome's still on vacation -- I'll try
my hand at implementing it.
On Wed, Sep 10, 2008 at 1:26 PM, Rasmus Agerholm [EMAIL PROTECTED]wrote:
Would it be possible to use this GWT feature to implement support for basic
authentication?
Thanks Rob.
I created a very simple application using the GWT applicationCreator and
I have attached. I just added one line to the client Foo.java class
that makes a org.restlet.gwt.Client.get() method call. I have modified
the Foo-compile script to include the path to the
Hey Rob,
Thanks for the reply. I am on Linux (Ubuntu 8.04) and using GWT
1.5RC1. The one thing that may be different is that I am using the GWT
Maven 2 plugin for my builds. I have attached a simple example
(default that gets created with the GWT Maven archtype) that is a
simple GWT-RPC
55 matches
Mail list logo