On 3/24/07, Brad Smith <[EMAIL PROTECTED]> wrote:
I have an application which needs to handle urls that have the following
patterns:

http://localhost:8080/myapp/projects/office1

http://localhost:8080/myapp/projects/office2

http://localhost:8080/myapp/projects/office2/subofficeA

Conceptually I would like the request to be routed to a single backing
bean called Projects that would use the URL content after ../projects/..
to determine what the response should be.

Are there features in Shale which would make this possible? Is this
where the Application Manager would come into play?

<snip/>

The RESTful-ness of the URLs (if that was intentional) makes it seem
like Shale Remoting [1] could be helpful here. In which case, you'd
need to define a Processor [2] to meet your requirements. The remoting
module Javadocs are here [3], see package description for the
org.apache.shale.remoting package for implementation details and
how-to.

-Rahul

(long, possibly fragmented URLs, pointing to latest release docs)

[1] http://shale.apache.org/1.0.4/shale-remoting/
[2] 
http://shale.apache.org/1.0.4/shale-remoting/apidocs/org/apache/shale/remoting/Processor.html
[3] http://shale.apache.org/1.0.4/shale-remoting/apidocs/




Thank you,

Brad



Reply via email to