<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>(blog-of &#34;Alex Shabanov&#34;)</title>
	<link>http://alexshabanov.com</link>
	<description>Geek&#039;s blog about software and other stuff</description>
	<lastBuildDate>Mon, 30 Jan 2012 19:15:46 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.2.1" -->

	<item>
		<title>Print assembly for Java</title>
		<description><![CDATA[The modern openjdk&#8217;s JVM is able to print assembly for generated machine code &#8211; see Oracle&#8217;s blog post. To start working with this option you need hsdis plugin, available here. Then put the downloaded library to the location your OS aware of. E.g. if you&#8217;re using linux all you need is to update LD_LIBRARY_PATH: export [...]]]></description>
		<link>http://alexshabanov.com/2011/12/29/print-assembly-for-java/</link>
			</item>
	<item>
		<title>Tuning Intellij Idea</title>
		<description><![CDATA[First of all consider changing idea.vmoptions. idea.vmoptions is a text file with a list of JVM settings, it&#8217;s usually found in the bin folder in the Idea installation folder. This file can be open in any text editor. The following settings increase performance drastically on Sun JVM 1.6: -server -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m -XX:+UseConcMarkSweepGC -XX:+AggressiveOpts [...]]]></description>
		<link>http://alexshabanov.com/2011/12/12/idea-vmoptions/</link>
			</item>
	<item>
		<title>instanceof vs Visitor</title>
		<description><![CDATA[I always was curious on how effective is visitor pattern vs instanceof when it comes to detect whether the given base implements certain interface or not. I had 7 interface classes and visitor for all of these, and 7 concrete implementations, then I tested instanceof and visitor pattern on a large collection of randomly picked [...]]]></description>
		<link>http://alexshabanov.com/2011/12/03/instanceof-vs-visitor/</link>
			</item>
	<item>
		<title>Create self-sufficient JAR with maven</title>
		<description><![CDATA[After getting stuck several times with maven assembly plugin I decided to make a note on how to create self-sufficient jar with maven. Self-sufficiency implies jar to include all the required dependencies so it can be started with java without specifying extra classpaths. &#60;build&#62; &#60;plugins&#62; &#60;!-- Packaging configuration --&#62; &#60;plugin&#62; &#60;artifactId&#62;maven-assembly-plugin&#60;/artifactId&#62; &#60;configuration&#62; &#60;archive&#62; &#60;manifest&#62; &#60;addClasspath&#62;true&#60;/addClasspath&#62; [...]]]></description>
		<link>http://alexshabanov.com/2011/11/30/create-self-sufficient-jar-with-maven/</link>
			</item>
	<item>
		<title>context:annotation-config for StaticApplicationContext</title>
		<description><![CDATA[For some reason I&#8217;m unable to use XML configuration for spring in the current project (and thus ClassPathXmlApplicationContext) &#8211; don&#8217;t ask me why So I&#8217;ve to specify the entire configuration in code (by using StaticApplicationContext.registerSingleton). The question is &#8211; how to make StaticApplicationContext work as if &#8220;annotation-config&#8221; is specified to make application context process annotated [...]]]></description>
		<link>http://alexshabanov.com/2011/11/08/for-staticapplicationcontext/</link>
			</item>
	<item>
		<title>How to write and debug your own annotations processor.</title>
		<description><![CDATA[This is a short but comprehensive guide on how to write and debug your own annotations processor (assuming you are using Java 6, should work on Java 7 as well). Create jar where your annotations processor will reside, say ann-proc.jar (Just define annotation processor class).You may want to add dependency to the JDK&#8217;s tools.jar in [...]]]></description>
		<link>http://alexshabanov.com/2011/09/06/how-to-write-and-debug-your-own-annotations-processor/</link>
			</item>
	<item>
		<title>Ugly Netbeans font rendering on Ubuntu Linux</title>
		<description><![CDATA[Netbeans fonts rendering may look ugly on the latest Ubuntu. The following configuration does the trick for me (file $netbeans/etc/netbeans.conf, see part in bold): # Options used by NetBeans launcher by default, can be overridden by explicit # command line switches: netbeans_default_options=&#8221;-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd_hrgb&#8221; Checked with openjdk, it probably [...]]]></description>
		<link>http://alexshabanov.com/2011/09/01/182/</link>
			</item>
	<item>
		<title>Spring and AspectJ</title>
		<description><![CDATA[For those who uses Spring 3.0.5: Spring 3.0.5 doesn&#8217;t work with aspectjweaver 1.6.10+ due to AssertionError at org.aspectj.weaver.UnresolvedType.nameToSignature! E.g. if you use aspects in your spring config with, say, jdbc:initalize-database configuration clause, most likely you&#8217;ll get assertion error in your JUnit test what uses such a config. The possible workaround would be to switch to [...]]]></description>
		<link>http://alexshabanov.com/2011/06/29/spring-and-aspectj/</link>
			</item>
	<item>
		<title>Block internet access for application in Mac OS X</title>
		<description><![CDATA[There is a wonderful set of native utilities named &#8220;sandbox&#8221;. These utilities include service sandboxd that, for example, prevents newly downloaded applications from being started immediately. In order to block a particular application from accessing internet (but without turning off all the networking services) you may use &#8220;sandbox-exec&#8221; utility. First of all, create sandbox profile [...]]]></description>
		<link>http://alexshabanov.com/2011/06/26/block-internet-access-for-application-in-mac-os-x/</link>
			</item>
	<item>
		<title>Restlet&#8217;s JAX RS lacks custom converters</title>
		<description><![CDATA[I published earlier how to use Restlet framework with Spring over its JAX RS frontend. Unfortunately, there is no simple way to specify custom JSON converter for certain types, say java.util.Date (e.g. if you want to serialize it to ISO 8601-compatible string representation). In order to support that you need either to write a custom [...]]]></description>
		<link>http://alexshabanov.com/2011/05/11/restlets-jax-rs-lacks-custom-converters/</link>
			</item>
</channel>
</rss>

