RE: Re: Accept header sent by the client not being taken into account (2.0 snapshot from July 9th, 2009)

2009-07-17 Thread Tal Friedman
I've been having the same problem as Fabian. The annotation way of doing things is still not working for me, and I'm getting strange results with manually specifying the variants. I'm running the snapshot I downloaded yesterday (Engine.VERSION_HEADER="Noelios-Restlet-Engine/2.0snapshot") I ge

Re: Guidance on Atom/APP in Restlet

2009-07-17 Thread David Bordoley
One way I've worked with Atom services within Restlet is to use freemarker templates to generate atom representations and use an XML parser to parse entity bodies of APP POST/PUT requests. This allows me to extract the data I'm interested in without pulling the whole Atom tree into memory as Rome w

Re: Guidance on Atom/APP in Restlet

2009-07-17 Thread Tim Peierls
Thanks, Stephen, this is very helpful. --tim On Fri, Jul 17, 2009 at 3:01 PM, Stephen Groucutt < stephen.grouc...@gmail.com> wrote: > I'll qualify this by saying that I know of plans to use APP in enterprise > applications, but I haven't ever actually seen anything in the enterprise. > There's a

Re: Guidance on Atom/APP in Restlet

2009-07-17 Thread Stephen Groucutt
I'll qualify this by saying that I know of plans to use APP in enterprise applications, but I haven't ever actually seen anything in the enterprise. There's a good presentation on APP's capabilities in non-trivial environments over at http://qconsf.com/sf2007/presentation/Building+your+next+service

Guidance on Atom/APP in Restlet

2009-07-17 Thread Tim Peierls
Some rambling newbie Restlet design questions: Background: I'm in the preliminary stages of a ground-up redesign of an existing non-Restlet application. I'm (naturally) convinced that Restlet is the way to go for this redesign, and I'm pretty sure I want the UI to be GWT-based. So far so good ...

Re: REST in mobiles

2009-07-17 Thread David Bordoley
You can definitely run a web server on your phone. The bigger issue you will encounter is that your mobile device almost definitely doesn't have a routable IP and is most likely behind several NATs and FWs. What are you trying to do? dave On Fri, Jul 17, 2009 at 4:14 AM, feda abdul wrote: > I am

Re: Receive a multipart HTTP response

2009-07-17 Thread David Bordoley
Check out org.restlet.ext.fileupload. Its a representation wrapper around apache file upload that will allow you to parse multipart uploads. dave On Fri, Jul 17, 2009 at 8:02 AM, Evgeny Shepelyuk wrote: > Hello > > We're about to develop application that should read data from video camera. > Data

Receive a multipart HTTP response

2009-07-17 Thread Evgeny Shepelyuk
Hello We're about to develop application that should read data from video camera. Data from camera is sent via HTTP as single multipart _response_. My question is ift convenient and possible to use restlet to read such kind of data. Is there any possibilities not to manually read boundaries hea

REST in mobiles

2009-07-17 Thread feda abdul
I am new to RESTFul web services and Iwould like to know if itis possible implementing RESTFul web services on mobile devices acting as server and consumed from other desktop or mobile devices. Thanks -- http://restlet.tigris.org/ds/viewMessag

beginner question about Resource

2009-07-17 Thread Laurent Rustuel
Hello, I'm new to rest and restlet, and I'm a trying to make a demo/sample to help management to choose between rest framework. I have read restlet faq and wiki to find some info, and it has been a great help, but now I'm stuck with a problem for a beginner. I need to handle several GET and POST

Re: Question about 'org.restlet.engine.Engine.registerHelper(ClassLoader, URL, List, Class)'

2009-07-17 Thread Bruno Harbulot
Hi, Marcelo Paternostro wrote: > My environment is: > > - Eclipse 3.5 > - The Jetty support offered by Eclipse > > So I've added all 'org.mortbay.jetty.*' bundles that come with Eclipse plus > 'org.restlet.ext.jetty' to the class path and run the basic restlet example > just to see it dying in

Re: Restlet SSL and Weblogic (even tomcat would help)

2009-07-17 Thread Bruno Harbulot
Hello, Andrew Whelan wrote: > Hello, > > I am trying to deploy a Restlet application as a Servlet to weblogic using > SSL for authentication and authorization. I have successfully gotten the SSL > authentication to work with my Restlet, running it as a Java application > using the default Jett