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 <inge.tapes...@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 <bill.hollo...@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 >> > >