Re: StreamClientCall and FH exhaustion

2008-03-17 Thread Kevin Conaway
Its my understanding that the socket can't be automatically closed by Restlet because the response entity body isn't ready until the caller decides to access it. If this is correct, I think its up the client to some how alert the Client or the Response that he is through with the entity On Mon, M

StreamClientCall and FH exhaustion

2008-03-17 Thread Matt Reynolds
I have a question around the StreamClientCall code and socket use. The setup : We're using a single client (org.restlet.Client) instance through a number of threads (more than 10 or so), and calling a service repeatedly that has a 50ms round-trip time. We're using M1 (moving to M2, but more on th

RE: restlet server

2008-03-17 Thread Jerome Louvel
Hi all, I'd like to add that we are also planning to add our own WAR-like packaging in 1.1 M4. See the related RFE: http://restlet.tigris.org/issues/show_bug.cgi?id=76 This would also have a "WEB-INF" directory with Restlet configuration files and libraries and the content would be accessible us

Re: restlet server

2008-03-17 Thread Rob Heittman
The Restlet framework can run inside a J2EE container quite nicely, by using the ServerServlet instead of a standalone server connector like Jetty or Grizzly. It's not meant to work the other way around. So you probably would want to start with your Echo2 web application all set up in Tomcat or w

Re: restlet server

2008-03-17 Thread Jahid
Actually, i am using Echo2 framework. I want to deploy or run my developed Echo2 in restlet server. but have no clue how to do that. please, any help?

restlet server

2008-03-17 Thread Jahid
Hi, Is there any way to point restlet server to a full web app? I mean the web app is having directory structure as a regular web app with WEB-INF, META-INF. web.xml. I want restlet server to use that web.xml. I mean, is it possible use restlet server to work exactly like it will work if i de

RE: multipart representation

2008-03-17 Thread Jerome Louvel
Hi Marc, > thx for your response and the implementation suggestions You're welcome! > this causes some confusion on my end: > > - I don't see how dependency on a third-party thing is a bad > thing, what am I missing? It is not a bad thing in itself even if it always adds complexity. The su

Re: RESTlet XML rendering issues

2008-03-17 Thread Steve Loughran
On Mon, Mar 17, 2008 at 1:32 AM, Leshek <[EMAIL PROTECTED]> wrote: > > > JFYI: I tried plain DOM implementation, rememeber pls, I am a begginer, in > this space, and found DOM doc creation too cumbersom, the > inteface/implementaiton split drove me nuts :-) almost nothing I wanted to > do was intui

Re: multipart representation

2008-03-17 Thread Marc Portier
Hi Jerome, thx for your response and the implementation suggestions Jerome Louvel wrote: [...] we could make a Representation based similar composite that - holds a list of embedded Representations (of which some are referring to files on disk, and some just hold parameter-values) - all to be

RE: Context param with Directory in Spring

2008-03-17 Thread Jerome Louvel
Hi Jonathan, Thanks for reporting this back! I've decided to start a Spring integration document on the wiki, based on the existing FAQ question and on this new tip: "Integration with Spring" http://wiki.restlet.org/docs_1.1/g1/43-restlet/59-restlet.html I have also removed the SpringApplicatio