On Dec 12, 2006, at 9:46 AM, David Jencks wrote:
I think that there is no further information needed for the
"exposing" annotations: once they are in the xml, we can just
deploy from the xml and we're done. However for the "resource
injection" annotations, we still need some code to get the object
out of jndi and put it into the field.
See my last comment.
So, here's how I imagine this working:
Deploy time:
1. scan all the classes for annotations
2. process them into the xml descriptor
3. deploy from the modified xml descriptor, includiing constructing
the jndi tree (as done currently)
It'd be silly to do it any other way.
4. add objects to inject resources
Here's where I get confused. Add objects to inject resources into
what? The confusing part is that injection is done on instances of
components (servlets, ejbs). Maybe the Tomcat/Jetty integrations are
a lot tighter than I thought they were. Are we actually creating
servlet and filter instances themselves?
-David