RE: RE: RE: template question

2008-02-06 Thread Makunas, Michael
a Variable.TYPE_URI_PATH constant supported in SVN trunk. It will be part of 1.1 M2! Best regards, Jerome -Message d'origine- De : Makunas, Michael [mailto:[EMAIL PROTECTED] Envoyé : mardi 5 février 2008 19:10 À : discuss@restlet.tigris.org Objet : RE: RE: template question Thanks. Using

RE: RE: template question

2008-02-05 Thread Makunas, Michael
Thanks. Using Variable.TYPE_URI_ALL works. Though it would be nice to have something like Variable.TYPE_URI_ALL_WITHOUT_QUERY or something like that since {id} now includes the query string. That's not an issue in my case, though, so it works well enough. Cheers, Michael -Original

template question

2008-02-04 Thread Makunas, Michael
Hi all- I've got a question regarding templates. In my restlet application I'm attaching a custom finder based on a URI pattern like this: router.attach(/{foo}/{bar}/{baz}/{id}, myCustomFinder); router.attach(/{foo}/{bar}/{baz}, myCustomFinder); router.attach(/{foo}/{bar}, myCustomFinder);

JavaPolis

2007-11-26 Thread Makunas, Michael
Hi all- Anyone going to JavaPolis in Antwerp next month? If so, do you know if anyone is doing a REST/Restlet BOF or meetup type of thing? Cheers, Michael

RE: RE: Resource convention over configuration

2007-11-19 Thread Makunas, Michael
- De : Makunas, Michael [mailto:[EMAIL PROTECTED] Envoyé : vendredi 16 novembre 2007 17:53 À : discuss@restlet.tigris.org Objet : Resource convention over configuration Hi all- I'm trying to employ a bit of convention over configuration with my restlet based webapp, and I'm

Resource convention over configuration

2007-11-16 Thread Makunas, Michael
Hi all- I'm trying to employ a bit of convention over configuration with my restlet based webapp, and I'm wondering if anyone has dome something similar. For sake of argument, let's say my URI space is based on the following template: /{foo}/{bar}/{baz}/{id} I want to establish a convention

RE: Re: The quest for more springyness

2007-09-14 Thread Makunas, Michael
-Original Message- From: Adam Taft [mailto:[EMAIL PROTECTED] It should be either one of two ways: a) bean id=fooResource scope=request class=FooResource / b) bean id=fooResource scope=prototype class=FooResource / -a- should theoretically work in a servlet environment (like he's

The quest for more springyness

2007-09-13 Thread Makunas, Michael
Hi- In a quest to improve the springyness of the current spring/restlet integration I'm using, I've been playing around with some of the new Spring related classes in the 1.1 development trunk. I think I've managed to achieve a better fit than I had before, so I thought I'd share it and get some

RE: Using SpringFinder

2007-03-09 Thread Makunas, Michael
I understand your frustration with having to create the application outside of Spring. One potential solution I've thought might work is to have a version of restlet's ServerServlet that extends Springs HttpServletBean. In the meantime, we've been able to get everything except the application

RE: Re: mapping domain objects to resources

2007-03-06 Thread Makunas, Michael
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stokes Sent: 05 March 2007 20:27 To: discuss@restlet.tigris.org Subject: Re: mapping domain objects to resources Makunas, Michael Makunas.Michael at mtvne.com writes: My question is where do people generally

mapping domain objects to resources

2007-03-05 Thread Makunas, Michael
Hi all- This may really be more of an OOP question rather than a Restlet question, but I'm curious as what people are using as a general strategy for mapping resources to domain objects. Specifically in cases where there are properties of the resource that that are not part of the domain object.

RE: Re: Spring context and Resource

2007-02-27 Thread Makunas, Michael
(); if (result != null) { result.init(getContext(), request, response); } return result; } The new org.restlet.ext.spring.SpringFinder class has this all setup for you. Jonathan Makunas, Michael wrote: Hi- Been lurking for a while but this is my first post so