Re: documentation and integrations on the old wiki?

2007-10-21 Thread Florian Schwarz
It is now here: http://wiki.java.net/bin/view/Javawsxml/Restlet dev dev : What happened to all the documentation such as integration with acegi tutorial, tomcat+spring tutorial on the old wiki? Can someone refer me to the these documentations? All the documentation are no longer there on the

Bug in SpringFinder?

2007-10-30 Thread Florian Schwarz
Hi folks, I think SpringFinder.createResource(...) should be changed from: public Resource createResource(Request request, Response response) { Resource result = createResource(); if (result != null) { result.init(getContext(), request, response); } return result; } }

JIBX Representation

2007-11-20 Thread Florian Schwarz
Hi folks, has anybody already used the JIBX XML binding framework with Restlet? A JibxRepresentation similarly as the JaxbRepresentation would be very nice. Thx Nebu

Re: JIBX Representation

2008-01-10 Thread Florian Schwarz
Hi all, I have added reusing of BindingFactories to the JibxRepresentation, which works reliably and quite fast. I would really advice you to give JIBX a chance instead of JAXB. @Jerome: Hope you got my signed JCA. Feel free to incorporate the code. The usage is simple: private Project

Re: Jaxb representation (HELP!)

2008-01-27 Thread Florian Schwarz
Hi dev, the usage of JaxbRepresentation is quite simple: Java - XML public Representation represent(Variant variant) { ... Flight flight = ... JaxbRepresentation jaxbRepOfMyFlight = new JaxbRepresentation(MediaType.TEXT_XML, flight); ... return jaxbRepOfMyFlight } XML -

Re: Spring ServerServlet?

2008-01-29 Thread Florian Schwarz
if it still works as expected. The code is in SVN trunk. Best regards, Jerome -Message d'origine- De : Florian Schwarz [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 janvier 2008 16:28 À : discuss@restlet.tigris.org Objet : Re: Spring ServerServlet? Abrakadabra - here is your

Re: Spring ServerServlet?

2008-02-04 Thread Florian Schwarz
in the ServletContext. * * @author Florian Schwarz */ public class SpringServerServlet extends ServerServlet { private static final long serialVersionUID = 110030403435929871L; /** * Name of the Servlet parameter containing a bean-id of the application to use. */ public static final

Re: Jaxb representation (HELP!)

2008-02-06 Thread Florian Schwarz
considering JAXB. Thank you. dev On Jan 27, 2008 1:17 AM, Florian Schwarz [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi dev, the usage

Re: Jaxb representation (HELP!)

2008-02-06 Thread Florian Schwarz
, test-binding.xml); } Thanks dev On Feb 6, 2008 12:41 AM, Florian Schwarz [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi dev, your integration of the JiBX-Maven2-Plugin looks good so far. Please send the code of the test case and the JJiBX-Binding that uses

Re: restlet + spring --- managed resources

2008-03-06 Thread Florian Schwarz
Hi Brian, you can manage Restlets and (Restlet-) resources with the org.restlet.ext.spring extension in a spring context. Use this classes (SpringComponent, SpringResource ...) as your base classes and it is simple to configure them with Spring and use it's dependency injection mechanisms.