Hi there,
As it seems more like a general REST question, I suggest that you have a
look at some REST specific information: http://www.restlet.org/about/faq#04
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~
Hi,
I changed the Bookmark example
C:\restlet-1.1.4\src\org.restlet.example\org\restlet\example\book\rest\ch7\ApplicationTest.java
from Put to Post in putUser method as shown below:
public static void putUser(String userName, String password,
String fullName, String email) {
Jérôme,
As far as I understand, we can't reuse Restlet extensions made for
org.restlet.* with org.restlet.gae.* classes, can we ?
I have thought at a time that GAE would be a deployment option for our
restlet applications. With the gae copy, we may not reuse an application as
straitforward as I
Hi Rob, thank you for the answer!
ok, I can happy use the cookies, but is this use versus the rest-philosophy?
is there another solution to bring client-side the access credentials?
server-side security isn't now a problem, and then also HTTP_BASIC is good for
me.
Thanx again.
Hi
Could anyone give me some advice how I could implement such a Filter or
ConnectorService for hibernate? The main problem is: How can I get the
EntityManager that I created in the Filter at some other point?
Now I'm using auto-generated JPA Controller classes form NetBeans but this
leads to
Hi Tal and Tim,
Thanks for the discussion. I have added a clearCache() method which is
invoked each time an application is stopped (there is no
Application#release() method). The minor issue with an application specific
cache is that resource classes could be shared by several applications.
I
Hello,
this may be because the UserResource does not handle POST requests.
Did you try to rename UserResource#storeRepresentation to
UserResource#acceptRepresentation?
Best regards,
Thierry Boileau
Hi,
I changed the Bookmark example
Hi Tal,
Again, if there is no annotation declared on a ServerResource subclass,
there is nearly no cost for testing for the presence of those annotations.
Hence, it is not really necessary to call setAnnotated(false).
I don't want to add a new annotation for this. The fact that a class is a
Hello Rémi,
what kind of files are thinking about? package.html, overview.html files?
Best regards,
Thierry Boileau
Hello,
There is an issue with the maven build.
Resources files (not java files) in src/ are not in the final jar.
Rémi
2009/4/8 Rémi Dewitte r...@gide.net
Hi Mikhael,
I have decided to remove ServletContextAdapter altogether from SVN trunk and
adjusted SpringServerServlet to work like ServerServlet. The only thing missing
is the redirection from the Context's logger to the Servlet's logger, but the
ServletLogger class could be used for this
Hi Philippe,
To complete Stephan's answer, the ServerServlet is a Restlet specific class
that is leveraged by our JAX-RS implementation. It also works with classic
Restlet application hence it follows our own convention.
BTW, the parameter name you want to use in your web.xml is
Hi Remi,
As long as the extension only relies on GAE's white listed JRE classes, it
will work without any modification (example: the FreeMarker extension). Your
dream can come true already :-)
In the recent version of org.restlet.gae.jar, the packages are the same as
in org.restlet.jar so it
Hi Matt,
There has been a recent discussion on this topic in this list. Some changes
were made in SVN trunk so that ConnectorService callback methods are
systematically called after sending representations/responses.
You basically have to provide a custom ConnectorService that intercepts
those
Hi Matt,
Could you enter a bug report for this?
http://www.restlet.org/community/issues
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : MattyJ
Hello Thierry,
I am thinking of META-INF/services/* for client helpers for example.
Have you encountered any issue with my patch ? I have included all files in
src/ except .java and package.html but we could be more specific. Just have
to change the include content.
Cheers,
Rémi
On Thu, Apr 16,
Hi MattyJ,
I've faced the same problem before using Restlet M1 and i discovered the cause
that is i was using Grizzly connector, removing the latter and working with
Simple solved my problem. However some of my friends who were facing the same
prob, did the opposite to get over it (i.e. they
Jérôme,
I had to disable test and example module to have mvn install work.
Apparently it does work as I expect :).
Rémi
On Thu, Apr 16, 2009 at 11:28, Jerome Louvel jerome.lou...@noelios.comwrote:
Thanks Remi, fix applied to SVN trunk!
Cheers,
Jerome
--
*De
Hi Zsolt,
Restlet/GWT should definitely work with GAE. From a GAE point of view,
everything will look like compiled Javascript files served statically by
your Restlet/GAE application.
On the server-side, you can definitely use Restlet instead of GWT-RPC. The
GwtShellServletWrapper is even
Jerome,
Thanks, this works as expected with one exception. The
getLastModified(Object templateSource) returns a NullPointerException
all the time for me as the getModificationDate() from the Representation
(templateSource) is always null. I overrode the class and that method
and it works as
19 matches
Mail list logo