Re: Cookie based authentication

2009-05-19 Thread Tim Peierls
As long as there's a JMM *happens-before* edge between your startup activity and all use of the authenticator, you should be fine. However, not everyone who tries to use your code will necessarily know this term or how to ensure the condition, so I recommend either documenting it clearly or,

Re: Spring-loaded Restlets with Context dependencies

2009-05-19 Thread Dustin N. Jenkins
Thanks Jerome, The WAR client is only added if the component is created by the ServerServlet, and not by the SpringServerServlet (i.e. created from a Spring Bean). Cheers, Dustin Jerome Louvel wrote: Hi Dustin, Thanks for reporting your solution and for the support! I'm sure it will help

RE: Re: RestLet ServerResource xml json Request

2009-05-19 Thread Christian
Hi Stephan, Sorry if have come to send 2 messages: 1) The problem is that my entity is null? I am able to get the text from: String str = getRequest().getEntityAsText(); But I thought that: messageName(XmlRepresentation entity) would give me the xml representation? Do I need to implement

Re: GSON

2009-05-19 Thread Rob Heittman
Cool recommendation! Packages to be usable under OSGi containers, as is. Ahh. On Tue, May 19, 2009 at 1:34 PM, Tal Liron tal.li...@threecrickets.comwrote: http://www.cowtowncoder.com/hatchery/jackson/ --