Hi everybody,
I'm trying to figure out how to handle a PUT on a resource. I have overriden
storeRepresentation method, so that it creates a new entity, and replies with
the passed entity. Here is the code :
@Override
public void storeRepresentation(Representation r) throws
After a bit of experimentation I have managed to get a Restlet/Freemarker stack
running on GAE.
The basic steps I took were :
1. Modify ServletConverter and ServletContextAdapter as detailed below.
Basically this means replacing the calls to new ServletLogger with
Logger.getLogger e.g. in the
Dear all,
I just starting to learn restlet, and found this problem. I'm following
firstResource tutorial with eclipse and glassfish integrated to eclipse.
After write all the code,and importing :
- org.restlet.jar
- com.noelios.restlet.jar
- com.noelios.restlet.ext.servlet_2.5.jar
and run the
Hi, i need suggestion. I have to implement a multi-side RESTlet architecture to
exchange message/resource between pharmacies and suppliers, and between
suppliers and agents. It implicates thet in the suppliers side, there are
resources POSTed or PUTted by booth pharmacies and agents and some
Ok. I think I've figured out my the problem with the HttpAmazonS3Helper class.
The code in the method getCanonicalizedResourceName(Reference resourceRef)
isn't quite correct as It needs to incorporate the _bucketname_ into the path.
Presently its just getting the resource path.
From the S3
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 !
Thanks all for your answers. I was not really worried about building the
project with ant or maven.
I use maven to build most of
I wouldn't recommend RRWL for this.
Since it's harmless to recompute the AnnotationInfos, I think just having an
AnnotationUtils.clearCache method would work well. Call it whenever an
Application stops, say. It's worth a little redundant computation to avoid
having to deal with shared locks and
Tim... you seem to be agreeing with me, then, that
this does have something to do with the Application, and you are also
allowing for some redundancy in calculation and memory use, so, again,
why not just store it in the Application's Context, where all this is
taken care of automatically? I
Hi
Jerome,
How
about instead of calling setAnnotated(false), there would be an
annotation to turn annotation on? Since this doesn't seem like behavior
you'd want to turn on or off during the life of the resource instance,
it seems like it should be defined at the class level, not in the
Hello, again.
Tim, thanks for the guice-restlet link, I will for sure check it out.
As for Jerome's question, I'd like to elaborate a bit.
I'm using Restlet mostly to set up quick examples and proof-of-concept
solutions. I'm trying to convince a few people in the company I work that doing
web
10 matches
Mail list logo