GroovyRestlet is a simple and ease of use Groovy DSL for constructing
Restlet application.
Main features of GroovyRestlet:
* Simple Groovy DSL syntax and shortcuts for easily constructing
Restlet application
* Better integration with Spring framework
A simple example of GroovyRestlet DSL:
bu
Hello all,
some words to complete Stephan's answer.
Let's say that the name of the WAR file is myWar.
1- Let's say that the RestletServlet is configured like this :
/testServlet/*
and the application as follow:
router.attach("/testResource",HelloWorldResource.class);
then, the resource'U
Hello Eben,
here is a new snapshot:
http://www.restlet.org/downloads/archives/1.1/restlet-1.1snapshot.zip
Could you make tests and keep us informed?
best regards,
Thierry Boileau
On Fri, Feb 29, 2008 at 2:43 AM, Rob Heittman
<[EMAIL PROTECTED]> wrote:
> I believe this was a bug in ServerServlet
Hi Rob,
I fully agree and fixed this in SVN trunk!
Best regards,
Jerome
> -Message d'origine-
> De : Rob Heittman [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 29 février 2008 02:30
> À : discuss@restlet.tigris.org
> Objet : riap: isConfidential()?
>
> Interesting question came up i
Hi Keke,
Thanks again for your contribution!
This is a nice illustration of the interest of Groovy for DSLs and an
opportunity for Groovy users to leverage the Restlet project for their
RESTful Web applications (http://www.restlet.org).
Best regards,
Jerome
PS: I have also relayed the news on
Hi Frank,
I'm not sure either how to achieve this, normally you would specify a
context-param on your ServerServlet. Can't you specify that in OSGi Servlet
service?
Otherwise, you might want to check this upcoming presentation on Restlet at
EclipseCon:
"RESTful OSGI Web Applications Tutorial"
Awesome, thanks, Jerome!
On Fri, Feb 29, 2008 at 6:06 AM, Jerome Louvel <[EMAIL PROTECTED]> wrote:
>
> Hi Rob,
>
> I fully agree and fixed this in SVN trunk!
>
>
Hello,
> Thanks Vincent,that's pretty way for restlet-1.1snapshot.I
> used this way in restlet or resource:
> TemplateRepresentation templateRepr= new TemplateRepresentation(
> "/people.vm",
> MediaType.TEXT_HTML);
> ...
> templateRepr.setDataModel(dataMod
Hi all,
A new maintenance release of Restlet 1.0 is available. It fixes several
bugs (ServerServlet adapter, Spring XML loading issue and more) and updates
FreeMarker o version 2.3.12.
Thanks to all the reporters and contributors!
Changes log:
http://www.restlet.org/documentation/1.0/changes
Hi again!
After two months of intense work we are finally releasing our next
milestone. In addition to the numerous bug fixes and API enhancements, we
would like to underline the following features:
* Addition of a HTTP server based on the Grizzly NIO framework. This
connector is the first t
Hello Ted,
some words to complete Stephan's answer.
Let's say that the name of the WAR file is myWar.
1- Let's say that the RestletServlet is configured like this :
/testServlet/*
and the application as follow:
router.attach("/testResource",HelloWorldResource.class);
then, the resource'URI
I try and do a follow up and keep getting blocked because the site thinks I 'm
doing top posting.
The way I got around it was to take the follow up and remove all ">" characters
from the message chain and that seemed to work.
Ted,
You do not want to duplicate the servlet mappings with Router URL
attachments, as that will only work with "double" URLs. So in your
example your URL would have to be:
http://localhost/testServlet/dog/testServlet/dog
This is assuming that you are installing your webapp under /ROOT (for
Tomc
Mitch and Thierry thank you both very much, I understand now and got it working.
Apologies for starting a new post on an existing thread but
everytime I try and follow up I get a top posting error.
Here is the thread on the issue
Rhett,
Thanks for the reply.
I tried mapping to something specific and it still does not
work, 404 error.
I set up a route like so
router.atta
To get it on the official record, Carl Scott gets credit for this
suggestion :-)
On Fri, Feb 29, 2008 at 7:15 AM, Rob Heittman <[EMAIL PROTECTED]>
wrote:
> Awesome, thanks, Jerome!
>
This thread helps me understand some things too, thank you!
Since we are trying to complete the picture :-)
The myWar war name Thierry mentions becomes the default , but
that can be changed.
When you package the war into ear, in the application deployment descriptor
in myEar/META-INF/applicatio
That is fair, I've updated the official record :)
It will appear on the next Web site update and release.
Best regards,
Jerome
> -Message d'origine-
> De : Rob Heittman [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 29 février 2008 19:07
> À : discuss@restlet.tigris.org
> Objet : Re: r
Hi there,
That is weird, GMane works fine for me. Which email client are you using?
Best regards,
Jerome
> -Message d'origine-
> De : news [mailto:[EMAIL PROTECTED] De la part de TA
> Envoyé : vendredi 29 février 2008 16:30
> À : discuss@restlet.tigris.org
> Objet : There's a bug with
Hello Thierry,
Tests passed. Servlet connector working perfectly with 1.1m2 release.
Thank you for releasing this!
-Eben
On Fri, Feb 29, 2008 at 2:44 AM, Thierry Boileau <[EMAIL PROTECTED]>
wrote:
> Hello Eben,
>
> here is a new snapshot:
> http://www.restlet.org/downloads/archives/1.1/restl
Hi all,
I'm developing a web-based middleware (the software of my PhD) and I'm
trying to use RESTLET. I create a server (and a client) and some
restlets to implement the execution dynamics of my software.
I'm using XML for the representation of the resources (using JAXB).
Well, I tried to
If you read the stream from the representation, or call "getText()", then the
stream will be consumed and there will be no more data to read.
This is also true if you debug a POST on the server side, and call "getText()".
Your debugger will consume the stream and no more data will be available t
22 matches
Mail list logo