Thank you.
Mark
On Oct 17, 2008, at 8:54 AM, Rhett Sutphin wrote:
Hi Mark,
You might also consider using SpringBeanRouter. If you only have
one URI mapping per resource, it allows your URIs to be mapped
directly in the bean definitions. Your example would be like this
using
[mailto:[EMAIL PROTECTED]
Envoye : jeudi 16 octobre 2008 17:16
A : discuss@restlet.tigris.org
Objet : Re: Spring configuration example using
com.noelios.restlet.ext.spring package
I took a look at the javadoc for both org.restlet.ext.spring and
com.noelios.restlet.ext.spring and conclude
I'm posting my take on the Spring config detailed on the wiki.
Previously I had been using a subclass of Application, with multiple
invocations of router.attach() (per the FirstResource app) to get
routing done to specific restlets.
Hope this helps someone out there get over the hump. In
Hi Mark,
You might also consider using SpringBeanRouter. If you only have one
URI mapping per resource, it allows your URIs to be mapped directly in
the bean definitions. Your example would be like this using
SpringBeanRouter (note: not tested):
!-- server bean as before --
bean
I took a look at the javadoc for both org.restlet.ext.spring and
com.noelios.restlet.ext.spring and conclude that the method outlined
here, based on org.restlet.ext.spring,
http://wiki.restlet.org/docs_1.1/13-restlet/g2/59-restlet.html
is the most viable approach.
Having read through that
5 matches
Mail list logo