r or maybe setting it via Spring.
Hope this helps.
Best regards,
Jerome
--
http://www.restlet.com
http://twitter.com/#!/jlouvel
-Message d'origine-
De : Thierry LAU [mailto:la...@sfeir.com]
Envoyé : jeudi 26 juillet 2012 14:32
À : discuss@restlet.tigris.org; Ioannis Mavroukakis
Obje
Hi Ioannis
Thanks for your reply.
I did manage to avoid a null Dao.
However, It bypass the OAuthAuthorizer so there is no more authorization
control.
How can I attach OAuthAuthorizer between my protected resource and the
Application in the applicationContext.xml so Restlet performs authorizat
Hi Thierry,
I had the same issue, IIRC the problem is that Restlet instantiates a Resource
per request. If that Resource is not managed by spring,your injected DAO will
always be null. You need to use org.restlet.ext.spring.SpringFinder in your
Application like so: (be warned, there's more to t
Let me explain more whatI am trying to perform.
I'm trying to create the MyProtectedApplication describe in the oauth page of
Restlet site
http://wiki.restlet.org/docs_2.1/13-restlet/28-restlet/392-restlet.html
This is the code :
public class MyProtectedApplication extends Application{
publ
Hi
I have actually some difficulty to inject my Dao into my ServerResource.
Injected Dao is null
This is the bean in my applicationContext.xml :
This is the MyProtectedApplication code :
private DogsRestResource dogsRestResource; + getter setter
Hello,
I am attempting to convert my regular restlet application to one
integrated with Spring. I followed the standard steps listed here:
http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/70-restlet/196-restlet.html
I configured my web.xml to get the context directly from my Router
e it is a bug.)
Best Regards
Musa YUVACI
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/GWT-Restlet-Spring-timeout-problem-tp6249038p6308310.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
egards
> Musa YUVACI
>
> --
> View this message in context:
> http://restlet-discuss.1400322.n2.nabble.com/GWT-Restlet-Spring-timeout-problem-tp6249038p6268769.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
> -
x27;ll consider of course
:)
In this scenario,
1. the springContextFactory is something I made up, that would take the app
parameter, use it to load a whole set of spring xml files with the
appropriate placeholder.
2. the restlet spring beans are more tricky. The server (host, port...) so
is the component
://restlet-discuss.1400322.n2.nabble.com/GWT-Restlet-Spring-timeout-problem-tp6249038p6268769.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2719423
ent (GWT + Servlets) and Service (Restlet + Spring +
> Hibernate).
>
> GWT call servlet and servlet connects to Service layer. One person getting
> one request is working well but when GUI start to get more requests or more
> peoples sign in and taking data from server, Servlet st
Hi we are developing web based application on glassfishv3. We have 2
application as a client (GWT + Servlets) and Service (Restlet + Spring +
Hibernate).
GWT call servlet and servlet connects to Service layer. One person getting
one request is working well but when GUI start to get more requests
FYI, this bug has just been fixed in SVN trunk.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4
t; --
> Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
> Noelios Technologies ~ http://www.noelios.com
>
>
>
> -Message d'origine-
> De : tapdur [mailto:[hidden email]]
> Envoyé : lundi 8 février 2010 22:52
> À : [hidden email]
> Objet : restlet +
and Technical Lead ~ http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com
-Message d'origine-
De : tapdur [mailto:tapdu...@gmail.com]
Envoyé : lundi 8 février 2010 22:52
À : discuss@restlet.tigris.org
Objet : restlet + spring + camel + tomcat
Hi,
i am trying t
.nabble.com/restlet-spring-camel-tomcat-tp4537365p4537365.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2445987
Hi Jim,
you can get it from the download page: http://www.restlet.org/downloads/
Best regards,
Thierry Boileau
>> Hi Jim,
>>
>>
>>> Is there any reason why it's missing? Is it incompatible with GAE?
>>>
>> not at all...
>> Thanks a lot for your report, the SpringServerServlet is now
> Hi Jim,
>
>> Is there any reason why it's missing? Is it incompatible with GAE?
>
> not at all...
> Thanks a lot for your report, the SpringServerServlet is now part of
> the gae edition!
>
thanks Thierry, where can i download it from?
cheers
-
Hi Jim,
>Is there any reason why it's missing? Is it incompatible with GAE?
not at all...
Thanks a lot for your report, the SpringServerServlet is now part of
the gae edition!
Best regards,
Thierry Boileau
> Hey All,
>
> Started working with GAE + Restlet by following instructions on the
>
Hello Jim,
I can say, that the servlet is explicity removed from the jar, but I
don't know why...
I check that.
Best regards,
Thierry Boileau
> Hey All,
>
> Started working with GAE + Restlet by following instructions on the
> wiki
> (http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/
Hey All,
Started working with GAE + Restlet by following instructions on the
wiki (http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/252-restlet.html
). I downloaded the gae enabled version of the restlet framework and
everything worked as outlined in the article. I now want to extend m
oelios Technologies ~ Co-founder ~ http://www.noelios.com
>
>
> -Message d'origine-
> De : Felix Leipold [mailto:felix.leip...@gmx.de]
> Envoyé : lundi 23 février 2009 19:34
> À : discuss@restlet.tigris.org
> Objet : Restlet + Spring + Tomcat memory problems
>
> Hi G
uvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : Felix Leipold [mailto:felix.leip...@gmx.de]
Envoyé : lundi 23 février 2009 19:34
À : discuss@restlet.tigris.org
Objet : Restlet + Sp
Hi Guys,
we are using restlet with spring on tomcat. We use the RestletFrameWorkServlet
in which we pass a class extending SpringRouter. Everything seemed to stop
nicely. All our destroy methods got called, but somehow all the application
classes stuck.
After some memory debugging we came up w
.Bootstrap.main(Bootstrap.java:413)
>
> Anybody seen this before?
>
> On Wed, Jan 21, 2009 at 2:11 AM, Jerome Louvel > wrote:
> Hi Jean-Philippe,
>
> Good to hear! To customize the status page, have a look at the
> StatusService class and related property for your Applica
; Jérôme Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>
> --
> *De :* Jean-Philippe Steinmetz [mailto:caskate...@gmail.com]
> *Envoyé :* mardi 20 janvier 2009 23:57
s ~ Co-founder ~ <http://www.noelios.com/>
http://www.noelios.com
_
De : Jean-Philippe Steinmetz [mailto:caskate...@gmail.com]
Envoyé : mardi 20 janvier 2009 23:57
À : discuss@restlet.tigris.org
Objet : Re: RESTlet + Spring
Ok i've changed my depedencies to use restlet 1.1-SNA
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>
>
>
> --
> *De :* Jean-Philippe Steinmetz [mailto:caskate...@gmail.com]
> *Envoyé :* mardi 20 janvier 2009 22:42
> *À :* discuss@restlet.tigris.org
> *Objet :* Re: RESTlet + Spring
>
> I'm using
r ~ <http://www.restlet.org/>
http://www.restlet.org
Noelios Technologies ~ Co-founder ~ <http://www.noelios.com>
http://www.noelios.com
_
De : Jean-Philippe Steinmetz [mailto:caskate...@gmail.com]
Envoye : mardi 20 janvier 2009 22:42
A : discuss@restlet.tigris.org
Objet : Re:
I'm using maven to manage all the dependencies. It's possible something is
incorrectly done in my pom. For Spring I am using 2.5.6 for spring-core,
spring-context and spring-web. I am using 2.0.8 for spring-hibernate3 and
spring-jpa. For restlet I am using 1.1.1 for everything.
Here is my pom.xml
Hi Jean-Philippe,
At first glance, the error seems to be a generic spring error -- that
one of the wired dependencies is of the wrong type. Looking at your
XML, I wonder if it is failing here:
> value="persistenceUnitManager"/>
>
I think those should be "ref" instead of "v
Hi All,
I'm working on integrating restlet and spring for use in a web app to be run
under Tomcat. After reading up on the Spring extension (thank you Jerome) I
have decided to go the restlet as the main controller route. This is due to
the fact that Spring is only being used as a Dao implementati
Hello,
thanks for the answer:).
Spring so why should I use feel extending the functionality of an existing
application: (.
You have some examples of interaction restlet-spring realized that an
application servelet container?
Hello,
Marko
> Hello,
>
> I think there are severals
Hello,
I think there are severals problems. In the web.xml file there is no
link with the "context-application.xml " file.
The FirstStepsApplication defines only a Router as a root Restlet. That
means that all incoming requests will be routed to nothing.
I just wonder, why do you need Spring?
An
Hello,
I have a problem with restlet libraries and drives.
I configured the file web.xml:
org.restlet.application
firstSteps.FirstStepsApplication
RestletServlet
com.noelios.restlet.ext.servlet.ServerServlet
Hi Gabriel,
Were you able to solve this logging issue? Do you have sample code to
reproduce the issue?
Otherwise, did you consider other Restlet-Spring integration modes beside
RestletFrameworkServlet? For example, SpringServerServlet might give you
better control on the logging (which will be
Hi,
Is there a way to use the access log functionality in LogService in a
Restlet/Spring application? A minimal Restlet application will log
accesses by default but when I add the Spring integration the access
logging stops. Since Spring seems to use commons-logging by default
I've tried t
Hi, and thanks for your help. I think I'm finally starting to get a
grip on how an application is supposed to be organized. The solution
looks like this:
>From web.xml:
restservice
com.noelios.restlet.ext.spring.RestletFrameworkServlet
targetRestletBeanN
Both the Application class and SpringRouter classes are instances of Restlet
so I don't believe you need an Application instance.
Wherever you have injected your SpringRouter, simply inject your Guard class
with the SpringRouter as the "next" property.
Kevin
On Mon, Oct 20, 2008 at 8:19 AM, Gabr
Hi Gabriel,
On Oct 20, 2008, at 7:19 AM, Gabriel Falkenberg wrote:
I wonder if there is a special way to add guards/filters to a Restlet
application when using the Spring extension. My application does not
seem to have a separate Application class, only a SpringRouter. Is an
Application class r
Hi
I wonder if there is a special way to add guards/filters to a Restlet
application when using the Spring extension. My application does not
seem to have a separate Application class, only a SpringRouter. Is an
Application class required for this?
Best Regards
Gabriel Falkenberg
In my humble opinion, the current behavior of Resource.init (described below
by Brian) is inconsistent with the role of the init method in the Spring
bean lifecycle and with the method's own Javadoc. In the Spring bean
lifecycle, the init method is invoked after the properties are set.
Therefore, t
onnovan
> Envoyé : samedi 8 mars 2008 14:23
> À : discuss@restlet.tigris.org
> Objet : Re: restlet + spring --- managed resources
>
> Rhett Sutphin detailedbalance.net> writes:
>
> > The way I handle this is to do internal configuration of
> the resource,
> >
Rhett Sutphin detailedbalance.net> writes:
> The way I handle this is to do internal configuration of the resource,
> including setting variants, in the init method. For example:
>
> @Override
> public void init(Context context, Request request, Response
> response) {
> s
Hi Brian,
On Mar 7, 2008, at 9:50 AM, Brian Donnovan wrote:
Rhett Sutphin detailedbalance.net> writes:
Hi Brian,
On Mar 6, 2008, at 10:04 AM, Brian Donnovan wrote:
thanks for the hint, i will try it that way!
just one thing, i looked at the springresource class and it seems to
not have
mu
Rhett Sutphin detailedbalance.net> writes:
>
> Hi Brian,
>
> On Mar 6, 2008, at 10:04 AM, Brian Donnovan wrote:
> > thanks for the hint, i will try it that way!
> > just one thing, i looked at the springresource class and it seems to
> > not have
> > much in common with the original resource
If you like Groovy, you might would like to give a try at
GroovyRestlet's Spring Integration feature. For detail information see
here
http://groovy.codehaus.org/GroovyRestlet
On Thu, Mar 6, 2008 at 10:47 PM, Brian Donnovan <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> i´m trying to setup restlet w
Hi Brian,
On Mar 6, 2008, at 10:04 AM, Brian Donnovan wrote:
thanks for the hint, i will try it that way!
just one thing, i looked at the springresource class and it seems to
not have
much in common with the original resource class. the great thing of
the
resource class were the hooks for ge
Florian Schwarz tngtech.com> writes:
>
> Hi Brian,
>
> you can manage Restlets and (Restlet-) resources with the
> org.restlet.ext.spring extension in a spring context. Use this classes
> (SpringComponent, SpringResource ...) as your base classes and it is
> simple to configure them with Spr
Hi Brian,
you can manage Restlets and (Restlet-) resources with the
org.restlet.ext.spring extension in a spring context. Use this classes
(SpringComponent, SpringResource ...) as your base classes and it is
simple to configure them with Spring and use it's dependency injection
mechanisms.
Hi everyone,
i´m trying to setup restlet with spring, i´m wondering, what is the best
practise with restlet resources? from my resource (eg. UserResource) í try to
retrieve the requested data from a db, so what i´m trying to figure out is,
whether its possible to manage the resources in spring cont
Hi all,
Sreenivas Reddy has developed a sample application that illustrates how to
combine Restlet 1.0 RC1 with Spring 2.0, all deployed in Apache Tomcat 5.5.
It illustrates how to configure your URI -> Restlet mappings, using a Spring
XML configuration document. It also perfectly leverages the
52 matches
Mail list logo