<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.javaworld.com/community" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>AOP</title>
 <link>http://www.javaworld.com/community/taxonomy/term/966</link>
 <description>Taxonomy in convenient list form</description>
 <language>en</language>
<item>
 <title>Performance Monitoring with Spring AOP</title>
 <link>http://www.javaworld.com/community/node/3763</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;
Functional requirements for mission critical applications often include software service level agreements (SLAs), which specify the maximum allowable latency for specific operations. Such requirements necessitate the monitoring of application performance, either at system testing stage or post deployment. This article will demonstrate how real-time performance tracing/monitoring can be achieved for spring applications using the functionality provided in &lt;a href=&quot;http://www.springframework.org/&quot; rel=&quot;nofollow&quot;&gt;Spring AOP&lt;/a&gt; and the &lt;a href=&quot;http://logging.apache.org/log4j/1.2/index.html&quot; rel=&quot;nofollow&quot;&gt;Apache Log4j&lt;/a&gt; toolkit.
 &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/3763&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/966">AOP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1564">JAMon</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/402">performance</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/303">Spring</category>
 <pubDate>Mon, 30 Nov 2009 03:24:32 -0500</pubDate>
 <dc:creator>Obi Ezechukwu</dc:creator>
 <guid isPermaLink="false">3763 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How to get line number in java source code?</title>
 <link>http://www.javaworld.com/community/node/2549</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;can any java guru tell me how  get  the method starting line number of currently executing method? For example in class A there may be a method &lt;/p&gt;
&lt;p&gt;void aa(int c, int d)    // line number , say 512&lt;br /&gt;
{&lt;/p&gt;
&lt;p&gt;//  some code&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;I need to get this 512 during execution of this aa.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/966">AOP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1167">joinpoints</category>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Tue, 03 Mar 2009 09:32:56 -0500</pubDate>
 <dc:creator>princebadshah</dc:creator>
 <guid isPermaLink="false">2549 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>AspectJ-1.6.3rc1 getting java.lang.OutOfMemoryError: Java heap space</title>
 <link>http://www.javaworld.com/community/node/2111</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi,&lt;br /&gt;
I am using &lt;strong&gt;AspectJ 1.6.3rc1&lt;/strong&gt; for Aspect Oriented Programming. I have created an aspect as following:&lt;/p&gt;
&lt;p&gt;package com.aspect;&lt;/p&gt;
&lt;p&gt;import com.db.DBConnection;&lt;/p&gt;
&lt;p&gt;public &lt;strong&gt;aspect &lt;/strong&gt;MyAspect {&lt;br /&gt;
	    pointcut threadCreation(DBConnection conn) : call(* com.app..ResourceServiceImpl.uploadNormalContent*(..)) &amp;amp;&amp;amp; (cflow(call(void com.db.DBConnection.close()))) &amp;amp;&amp;amp; target(conn);&lt;br /&gt;
	    void around(DBConnection conn) : threadCreation(conn) {&lt;br /&gt;
	    	System.out.println(&quot;Got Connection:&quot; + conn);&lt;br /&gt;
	    	proceed(conn);&lt;br /&gt;
	    }&lt;br /&gt;
} &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/2111&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/966">AOP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1069">Aspect Oriented Programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1070">AspectJ</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/854">Software Development Tools</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Fri, 19 Dec 2008 06:10:29 -0500</pubDate>
 <dc:creator>rajkumar_kundu</dc:creator>
 <guid isPermaLink="false">2111 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Logging Method Entry/Exit with Spring/AspectJ</title>
 <link>http://www.javaworld.com/community/node/1695</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;The purpose of this blog entry is to show an extremely simple of example of &quot;logging&quot; entry into and exit from methods using the &lt;a href=&quot;http://www.springframework.org/&quot; rel=&quot;nofollow&quot;&gt;Spring Framework&lt;/a&gt; and &lt;a href=&quot;http://www.eclipse.org/aspectj/&quot; rel=&quot;nofollow&quot;&gt;AspectJ&lt;/a&gt;.  The example is so simple that I won&#039;t actually use &lt;a href=&quot;http://logging.apache.org/log4j/1.2/index.html&quot; rel=&quot;nofollow&quot;&gt;log4j&lt;/a&gt; or &lt;a href=&quot;http://java.sun.com/javase/6/docs/api/java/util/logging/package-summary.html&quot; rel=&quot;nofollow&quot;&gt;java.util.logging&lt;/a&gt; for the actual logging, although they could be easily added. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/1695&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/966">AOP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/710">Dustin</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/6">JW blogs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/714">Spring Framework</category>
 <pubDate>Tue, 28 Oct 2008 02:02:00 -0400</pubDate>
 <dc:creator>Dustin Marx</dc:creator>
 <guid isPermaLink="false">1695 at http://www.javaworld.com/community</guid>
</item>
</channel>
</rss>

