Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!weretis.net!feeder1.news.weretis.net!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Aspect questions? Date: Sat, 25 Feb 2012 12:20:17 -0800 Organization: albasani.net Lines: 30 Message-ID: References: <4f482fbd$0$282$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net CvGOTHYnud+Q2iyJXK80/hKOfnCrFBb/39bWbJeAl2W3avjZYejTlYk1c/3JqnNVp5+dZSJIMdYbdwCgvqZhcwHqpTY567XFoSkdw0LwEyiBisAF+tGaa/R3Cw/1NSgq NNTP-Posting-Date: Sat, 25 Feb 2012 20:20:16 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="0ALpSZ0lFobM91OOzqr+ckfixP7dLY1aQcfLPS1ve9G3TT2uF45OQzsree/xFZ5FnmNyS43AlFRFZ1g9pDN1GmB/m2cvZ+p6qRg6RjB5TybliFIEaVgbkOM77vKdnMIN"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: Cancel-Lock: sha1:UBihEiJYlMXQrdU/4ztkydg4N1I= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12330 Arved Sandstrom wrote: > Another thing to consider is that every extra layer of bytecode > manipulation you add is another source of conflict. You might have > EclipseLink JPA doing weaving. AspectJ might be weaving. You might be > using AgitarOne for generating JUnit tests for legacy code. You might be > using Emma or Cobertura for code coverage, both of which instrument with > weaving. JRebel also does class rewriting. > > I've run into situations many times - since I have used all of the above > - where one had to be careful about what order to have these bits weave. > Sometimes you can't control that, and you hope the combo works. In a > number of cases you simply cannot use two weavers together (I've found > it impossible to combine JRebel and EclipseLink with lazy weaving for > example). > > I have no problem with bytecode rewriting, but the developer needs to be > aware of what's already there (maybe they are using EclipseLink JPA as > part of their Java EE) before they start adding extra layers of it. Thank you, Arved. This exactly illustrates what I was trying to say about frameworks adding deployment complexity. It's not just the code that counts. Things have to actually run on actual computers. Check it out - you'll discover that ops personnel are smarter than we programmers. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg