|
From: Janne K. <ka...@me...> - 2005-08-06 15:36:41
|
Mark St Godard wrote: > > > > Speaking as a non-Spring developer....(i.e. wait for Rod, Juergen, etc.. > comments)... > > Is this something that you really want? There are valid uses of > Annotations...(i.e. transactions, security)... > but I dont think its a good idea to use it for everything (i.e. IoC) > > EJB3 is annotation-"crazy"... for lack of a better word.... I still really > do not think @Inject is appropriate. Inject is probably one of the things I'm looking for. That is being able to do the assembly level stuff using annotations. The reason that we have the XML configuration file is because we can change assembly level things easily (right?). However, this can just as easily be achieved using annotations which retain code locality. Majority of applications are pretty static in nature and there's no need to change the assembly stuff once the app if finished. And if you do need to change something you need to tear open the WAR archive anyways which is not far from doing a full recompile. > I still think there will be some sort of level of configuration that you > cannot get away from. Ofcourse. * Janne Kario |