I'm using Spring, Hibernate, and Restlets and getting a bunch of
LazyInitializationExceptions. I've even implemented a OpenSessionInView filter
and that doesn't help either. Does anyone have a workaround for this?
I am using the Restlet framework (v1.0.1) with the embedded Jetty server as the
Adam Taft adam at adamtaft.com writes:
Finder thankfully happens to be a stateless bean, and therefore can be
easily added into your Spring configuration. So the trick is two-fold:
a) Create an interface which has methods similar to Resource, except
make the interface stateless by
are properly formatted. Reported by
Sumit Lohia.
- Added some extra checks to prevent multiple starts/stops of Applications,
Components, Clients, Servers. Reported by Amol Daterao, Joan Picanyol i Puig
and Christopher Sun.
Hi Jerome,
Thanks for this snapshot of 1.0.6. I confirmed that the null realm
Sean Landis sean.landis at gmail.com writes:
Jerome Louvel contact at noelios.com writes:
Hi all,
Thanks for the quality of the feed-back. I feel like I'm now grasping all
aspects of the problem and can propose a solution:
1) Split the Resource class into an abstract Handler class
I'm trying to write a custom Guard that does HTTP SPNEGO authentication
(http://tools.ietf.org/html/rfc4559). For SPNEGO to work, the response on a 401
challenge needs to look like
WWW-Authenticate: Negotiate
However, Guards currently need a realm and even instantiating a Guard with a
null
Jerome Louvel contact at noelios.com writes:
It seems indeed like this service would help you to centralize your
conversion logic. But nothing is done automatically, you still need to
manually call getEntityAsObject() or setEntity(Object) methods in order to
trigger the converter service.
Jerome Louvel contact at noelios.com writes:
Thanks for sharing your experience. I think I prefer your approach which is
more flexible.
I'm close to conclude that the ConverterService should be deprecated in 1.1.
Anyone has strong opinion about such a move?
I agree with deprecating the
I have a Component and a single Application in my environment. Within the
component, I'd like to attach the route '/favicon.ico' to be served from a
static file and everything else to be routed to the Application.
How can I achieve this within the component? Is there a FileResource (just like
Jerome Louvel contact at noelios.com writes:
So, here are the changes that I made:
- split Representation class into a new Variant class (containing all
metadata properties) and into a lighter Representation class. Variant is a
subclass of Resource and Representation a subclass of Variant.
How can I provide multiple representations for a resource in an optimal way?
I have a database-backed application that stores an address book.
I wish the data to be exposed as both a JsonRepresentation and a
DomRepresentation. Currently, I am creating both representations
as part of the
I'm looking at tutorial #6 (http://www.restlet.org/tutorial#part06), and I'm not
sure I understand how applications and containers should be organized.
If the Application is something that can be distributed opaquely and moved
around from Container to Container, why can't the Application open a
Hi all,
I have a question about how other are using the Application.isStopped() method.
If a given application is unhealthy (for example, broken client connectors), is
it appropriate for the Application to mark itself stopped?
I am writing a restlet that monitors the state of all applications
Jerome Louvel contact at noelios.com writes:
Hi all,
An intermediary snapshot is available:
http://www.restlet.org/downloads/current.zip
Best regards,
Jerome Louvel
---
[API breaking changes]
- Moved Atom, FreeMarker and FileUpload extensions to
Is it possible to use log4j for access logging with restlets? I'm using restlet
version 1.0b19 with an embedded Jetty webserver.
Thanks.
Sumit
14 matches
Mail list logo