Bill Barker wrote On 05/04/06 17:18,:

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 2:38 PM
To: Tomcat Developers List
Subject: Re: svn commit: r399545 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java



Bill Barker wrote On 05/04/06 11:14,:





-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 1:45 AM
To: Tomcat Developers List
Subject: Re: svn commit: r399545 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

[EMAIL PROTECTED] wrote:


Of course, this will be horrible slow at least until Jasper

looks for metadata-complete.

When you think about it, there's no reason at all why "metadata-complete" actually affects resource injection. It should affect declarations of things using annotations, and that's it, so it's not that logical, and it should have been named

annotation-processing.


Which is true (at least with my current draft of the spec).

It would have

been nice to have another attribute which says "My app isn't using
Annotations, so don't bother wasting time looking for them" :).


Notice that all component dependencies/injections represented by
environment annotations such as @EJB/@Resource/@PreDestroy/@PostConstruct, etc. can be translated into corresponding xml elements in your deployment
descriptor.

The Java EE 5 spec has this:

  A complete deployment descriptor provides a complete description of
  the deployment information; a deloyment tool must not examine class
  files for this deployment information.

The attribute metadata-complete is used in the deployment descriptor
  to specify whether the descriptor is complete.




It seems Jan's interpretation is right:
<spec-quote version="2.5" section="14.5">
If “metadata-complete” is set to "true", the deployment tool must ignore any
Servlet
annotations present in the class files of the application.
</spec-quote>

Since the JSP spec defers to the Servlet spec for Annotations, I'm assuming
that it's the same for Tags.

Yes, that's correct.


Jan




Jan



Rémy

------------------------------------------------------------

---------

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







This message is intended only for the use of the person(s)

listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments.

In addition you should be aware that ordinary (unencrypted)

e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.



---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication 
in error, please notify us immediately by e-mail and then delete all copies of 
this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through 
the Internet is not secure. Do not send confidential or sensitive information, 
such as social security numbers, account numbers, personal identification 
numbers and passwords, to us via ordinary (unencrypted) e-mail.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to