You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Bill Holloway <bi...@gmail.com> on 2008/12/25 18:38:35 UTC

T5: Upgrade of t5-restful-webservices

Version 0.2.0 supports multiple RESTful web service methods per IoC service
class by way of the @RestfulWebMethod annotation.  The request-path
arguments in the URL are also now translated using ValueEncoders.

See http://code.google.com/p/t5-restful-webservices.  The GettingStarted
page should be all you need to get going.

This is alpha software.  Let me know your thoughts.

Cheers,
Bill in Austin

Re: T5: Upgrade of t5-restful-webservices

Posted by Inge Solvoll <in...@gmail.com>.
Worked nicely. Added a web services package in my pages package. It doesn't
matter where you put the class, but of course the class reloading feature
requires that you put it in reloadable packages.

My next step is to implement generic authentication for my web services.
I'll probably just create a util class that reads Authorization and
Authentication headers from the incoming Request object. Are you planning to
extend your module with built-in solutions for this?

One nice improvement would be to remove the AppModule mapping of classes to
manually picked names, it smells like struts-config.xml and T4 *.application
file.

How about just "autowiring" all classes containing web service annotations
with a class-level annotation @RestfulWebServlce, possibly with a parameter
if you want a web service url different than the class name?

Again, very nice lib, thank you :)

Inge

On Tue, Dec 30, 2008 at 11:26 AM, Inge Solvoll <in...@gmail.com>wrote:

> I like this!! Will certainly check it out for potential use in my
> application. Thank you!
>
> It is very important to do what you did here, provide a very simple
> tutorial that contains all the essential information you need. I understood
> the concept in 1 minute, and instantly saw the potential.
>
> Well done!
>
> Inge
>
>
> On Thu, Dec 25, 2008 at 6:38 PM, Bill Holloway <bi...@gmail.com>wrote:
>
>> Version 0.2.0 supports multiple RESTful web service methods per IoC
>> service
>> class by way of the @RestfulWebMethod annotation.  The request-path
>> arguments in the URL are also now translated using ValueEncoders.
>>
>> See http://code.google.com/p/t5-restful-webservices.  The GettingStarted
>> page should be all you need to get going.
>>
>> This is alpha software.  Let me know your thoughts.
>>
>> Cheers,
>> Bill in Austin
>>
>
>

Re: T5: Upgrade of t5-restful-webservices

Posted by Inge Solvoll <in...@gmail.com>.
I like this!! Will certainly check it out for potential use in my
application. Thank you!

It is very important to do what you did here, provide a very simple tutorial
that contains all the essential information you need. I understood the
concept in 1 minute, and instantly saw the potential.

Well done!

Inge

On Thu, Dec 25, 2008 at 6:38 PM, Bill Holloway <bi...@gmail.com>wrote:

> Version 0.2.0 supports multiple RESTful web service methods per IoC service
> class by way of the @RestfulWebMethod annotation.  The request-path
> arguments in the URL are also now translated using ValueEncoders.
>
> See http://code.google.com/p/t5-restful-webservices.  The GettingStarted
> page should be all you need to get going.
>
> This is alpha software.  Let me know your thoughts.
>
> Cheers,
> Bill in Austin
>

Re: T5: Upgrade of t5-restful-webservices

Posted by thermus <ms...@gmail.com>.
I've been looking for something like this.  Thanks for contributing your
work!

I concur about the autowiring comment.  Would be nice if that was automatic.



texomaleo wrote:
> 
> Version 0.2.0 supports multiple RESTful web service methods per IoC
> service
> class by way of the @RestfulWebMethod annotation.  The request-path
> arguments in the URL are also now translated using ValueEncoders.
> 
> See http://code.google.com/p/t5-restful-webservices.  The GettingStarted
> page should be all you need to get going.
> 
> This is alpha software.  Let me know your thoughts.
> 
> Cheers,
> Bill in Austin
> 
> 

-- 
View this message in context: http://www.nabble.com/T5%3A-Upgrade-of-t5-restful-webservices-tp21168914p21234179.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org