hi, I was trying out struts2 rest plugin and found it really cool.
But was just wondering how will this work with action cascading ? i.e So When using http://localhost/company it goes to companyAction and executes respective mapped methods But how do we organize work when we http://localhost/company/1/locations/2/contact/2/ ??? Will these be methods in same class? Class will grow too big & if not how does it get mapped to contactAction and pass values their? How about more complex case where we have http://localhost/company/1/locations/2/contact/2/order/2/transaction/1/payment or something like this??? Domain objects are hibernate entities when company has locations has contacts has orders has transaction has payments? or should the rest url be something different and simplified? like http://localhost/order/2/transaction/1/payment but still has issues mapping things and reusing actions? Am I missing something in rest plugin? -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>