Grizzly on maven repo

2009-03-05 Thread Rémi Dewitte
Hello, Is there any reason why the grizzly extension is not deployed as a maven artifact ? I found that just adding a line in build.xml does the trick ! Regards, Rémi --

how to expose meta information

2009-03-05 Thread Alexander J. Perez Tchernov
Hello. I want to ask if the following design is ok from the REST / ROA point of view, and if it would be easy to realize these schema in restlet (and preferable with JAX-RS ext). Let we have some resources and meta information (size, creation date, expiration date, md5, grddl) associated with

JAX-RS and per methods security

2009-03-05 Thread Alexander J. Perez Tchernov
Hello. Is it possible to ship an example how to operate with security in JAX-RS for the following problem. I want to specify that certain users may perform GET operation against a certain resource, and only subset of them can perform PUT /POST operation. The rest of resources don't need any

Testing RESTful Web Services built with Restlet

2009-03-05 Thread webpost
I am looking for good ideas for testing RESTful web services built using Restlet. We have done obvious: JMeter, JUnit, and some integration testing. I'd like more automated tools that testers could use (possibly with the help of developers) that specifically address REST. The approaches I

Re: Grizzly on maven repo

2009-03-05 Thread Thierry Boileau
Hi Rémi, thanks for reporting this issue. The svn repository has been updated. Best regards, Thierry Boileau Hello, Is there any reason why the grizzly extension is not deployed as a maven artifact ? I found that just adding a line in build.xml does the trick ! Regards, Rémi

RE: JSP/Servlet Representation

2009-03-05 Thread Jerome Louvel
Hi all, The closest thing that exists right now is the XTC project integrating Restlet and Facelets: http://trac.sarugo.org/xtc Another idea would be to develop a Restlet's Request and Response wrapper for the Servlet API. Then, we could try to create a JspRepresentation and ask to an embedded

Groovy as templating engine

2009-03-05 Thread Evgeny Shepelyuk
Hello ! Had anyone used groovy as templating engine for creating HTML content ? I'm currently developing simple class extending WriterRepresentation to use groovy template engine. But maybe there's some external project have this functionality already implemented ? -- Regards, Evgeny

Re: Random Grizzly IOException

2009-03-05 Thread Bruce Lee
Jerome Louvel jerome.louvel at noelios.com writes: Hi Bruce, Great news! Regarding the 40s delay I'm puzzled... Did you monitor the state of sockets? Are they all closed in a timely manner? Did you try using a profiler to detect which part of the code actually causes the

Re: Random Grizzly IOException

2009-03-05 Thread Bruce Lee
Hi Jerome, Sorry I finally got some time to dig into this problem again and I think I've found the cause of the round time delay. In the ByteUtils, there's a SelectorFactory which is used when NIO selectablechannel is used. Notice that the factory limits the total number of active selectors to

Restlet manifest and the Bundle Version property

2009-03-05 Thread webpost
Can someone tell me why the Bundle-Version property for each of the artifacts in the maven2 repository(http://maven.restlet.org/) are not correctly stating the maven version. For example, the manifest for 1.2-SNAPSHOT AND 1.2-M1 both state that the Bundle-Version is 1.2. This is not the