I like annotation based dependency injection ala EJB3. Unfortunately
I've not wrote yet any annotation based container, so I'm not an
"expert" in this (I only developed applications based on EJB3 and other
annotation based environments)
I think this is the best option for a 2007 api. It require java 5, but
we know that java 2 1.4 we'll be probably declared unsupported soon and
java 6 is already out, so I think this is not a big deal.
I would like to see also other Java 5 improvements for a new API:
generics, enums, varargs.
Stefano
Danny Angus wrote:
Hi,
During the discussions provoked by the experiment on using JNDI for
Mailet service lookup in the sandbox the subject of annotations came
up.
I have no strong opinion or vision here, but perhaps someone who was
in favour of annotations would like to kick off a discussion of the
why and how and the merits/demerits of proposing the use of
annotations in the API spec in this thread....
(go on you know you want to..)
d.