Development
Spring 3.1 & JBoss 7.1 Serving static content
Although the static content should be served by the Webserver i will make another post for that, but during development for local testing purposes you might want to serve Static content from the Application server, Spring provides several options to achieve this, i am sharing one such option that i use most of the time. Make sure [...]
How to fix “java.net.SocketException: Protocol family unavailable”
While working on a Spring MVC based web application for Jennet-IP network control, i came across the following exception. java.net.SocketException: Protocol family unavailable The cause of this exception is that the targeted system i am connecting to is IPV6 based and i am coming from a IPV4 stack, and my JVM falls to IPV4 by [...]
After update Android ADT Plugin says SDK path not set in preferences
To my surprise eclipse (indigo) today prompted me with a error message saying something like “Android SDK is not set in preferences”, but it was working before until i updated to version r17 recently. It was fixed by updating the AFT Plugin to the latest version (Version 18 at the moment) by going to window [...]
Android Development: Make your application backward compatible
Android SDK versions market share keeps changing dramtically over a period of few months because of frequent releases of both newer SDK versions and capabilities and sales of the newer devices which makes my Desire HD2 with Analog buttons at the bottom look like a Antique (According to google anyways). For Android developers it is [...]
Automated Code review
PMD eclipse plugin, which one can extend with custom rules. There is also a Maven plugin for this: http://maven.apache.org/plugins/maven-pmd-plugin/ and Bamboo plugin: https://plugins.atlassian.com/5987 Automated html reports can be generated using the maven plugin or Bamboo plugin during each build in bamboo in continuous manner,. and have the reports available to everyone who has access to bamboo. however PMD [...]
Spring 3.0 – BeanFactory vs ApplicationContext
ApplicationContext is much the same as a BeanFactory. Both load bean definitions, wire beans together, and dispense beans upon request. But there are differences, ApplicationContext extends BeanFactory by providing additional features, see below the differences. BeanFactory: An Interface that implements Factory-Pattern A bean factory “lazily loads” all beans, deferring bean creation until the getBean() method is called. [...]