Add a page that describes the flow of a request through the Apollo runtime
step-by-step
---------------------------------------------------------------------------------------
Key: APOLLO-18
URL: http://issues.apache.org/jira/browse/APOLLO-18
Project: Apollo
Type: Task
Components: Tutorial
Environment: n/a
Reporter: Ian Springer
Priority: Minor
Ideally, a diagram should also be included.
Here is a starting point:
1) request comes into Axis
2) Axis dispatches the request to the Apollo provider (ResourceProvider)
3) the provider creates a ResourceContext that contains context info for
this request
4) the provider creates an instance of the Apollo Service class that is
configured for this Axis service, passing the ResourceContext to the
Service's constructor
5) the provider deserializes the SOAP request to an XmlBean
6) via reflection, the provider invokes the method on the Service that
corresponds to the top-level element within the request Body, passing it
the request XmlBean
7) the various methods w/in the Service are then able to transparently
obtain the Resource instance by calling getResourceHome() on the
ResourceContext and then calling getInstance() on the ResourceHome,
passing it the ResourceContext
8) under the covers, the ResourceContext:
a) looks up the appropriate Home instance from JNDI based on the home
name configured for this service
b) creates a ResourceKey by looking up the SOAP header from the
request w/ the key name configured for this service
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]