apache > ws.apache
Apache Muse
 

Apache Muse - Create a Resource (Programmatically)

You can create new instances of a resource type programmatically using the org.apache.muse.core.ResourceManager API. This section describes the steps you must take to instantitate, initialize, and expose the resource so it can start handling requests.

The deployment descriptor overview covers the relationship between a resource type and its context path - we will now see how the context path value can be used to create an instance of a resource without referencing its implementation class(es). There is more than one step required to create a resource: