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
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;
}
}
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
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
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 -
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
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
considering JAXB.
Thank you.
dev
On Jan 27, 2008 1:17 AM, Florian Schwarz
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi dev,
the usage
, 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
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.
10 matches
Mail list logo