<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Androidsx &#187; java</title> <atom:link href="http://www.androidsx.com/tag/java/feed/" rel="self" type="application/rss+xml" /><link>http://www.androidsx.com</link> <description>Android specialists</description> <lastBuildDate>Fri, 02 Dec 2011 09:38:58 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>New features in Java 7</title><link>http://www.androidsx.com/new-features-in-java-7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-features-in-java-7</link> <comments>http://www.androidsx.com/new-features-in-java-7/#comments</comments> <pubDate>Tue, 27 Sep 2011 20:37:18 +0000</pubDate> <dc:creator>Pablo Pera Mira</dc:creator> <category><![CDATA[blog]]></category> <category><![CDATA[general]]></category> <category><![CDATA[java]]></category> <category><![CDATA[java 7]]></category><guid
isPermaLink="false">http://www.androidsx.com/?p=677</guid> <description><![CDATA[Here&#8217;s a summary of the most exciting features of the upcoming Java 7, which is of interest for the Java community and, consequently, for Android developers! Language enhancements Left to right type inference This basically allows you to write Map&#60;String, List&#60;String&#62;&#62; retVal = new HashMap&#60;&#62;(); instead of Map&#60;String, List&#60;String&#62;&#62; retVal = new HashMap&#60;String, List&#60;String&#62;&#62;();, which [...]]]></description> <wfw:commentRss>http://www.androidsx.com/new-features-in-java-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Don&#8217;t look for things. Ask for them!</title><link>http://www.androidsx.com/dont-look-for-things-ask-for-them/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dont-look-for-things-ask-for-them</link> <comments>http://www.androidsx.com/dont-look-for-things-ask-for-them/#comments</comments> <pubDate>Thu, 26 Nov 2009 10:04:07 +0000</pubDate> <dc:creator>Pablo Pera Mira</dc:creator> <category><![CDATA[blog]]></category> <category><![CDATA[software quality]]></category> <category><![CDATA[java]]></category> <category><![CDATA[testing]]></category><guid
isPermaLink="false">http://www.androidsx.com/?p=75</guid> <description><![CDATA[Before our previous article, our code to model a mechanic used to look like this: class Mechanic { private final Engine engine = ServiceLocator.getCar().getEngine(); public void fixEngine() { /* ... */ } } Luckily, we applied some dependency injection, resulting in nicer code: testable, and with an explicit dependency on the ServiceLocator: class Mechanic { [...]]]></description> <wfw:commentRss>http://www.androidsx.com/dont-look-for-things-ask-for-them/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Can&#8217;t test that Singleton? Try Dependency Injection!</title><link>http://www.androidsx.com/cant-test-that-singleton-try-dependency-injection/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cant-test-that-singleton-try-dependency-injection</link> <comments>http://www.androidsx.com/cant-test-that-singleton-try-dependency-injection/#comments</comments> <pubDate>Wed, 11 Nov 2009 19:40:06 +0000</pubDate> <dc:creator>Pablo Pera Mira</dc:creator> <category><![CDATA[blog]]></category> <category><![CDATA[software quality]]></category> <category><![CDATA[java]]></category> <category><![CDATA[testing]]></category><guid
isPermaLink="false">http://www.androidsx.com/?p=60</guid> <description><![CDATA[So you want to test this method: public class Client { public int process(Params params) { final Server server = Server.getInstance(); final Data data = server.retrieveDate(params); // do stuff } } We don&#8217;t want to retrieve an instance of a real server for our little unit-test, so how can we test this method? It is [...]]]></description> <wfw:commentRss>http://www.androidsx.com/cant-test-that-singleton-try-dependency-injection/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 5/29 queries in 0.181 seconds using disk: basic
Object Caching 392/429 objects using disk: basic

Served from: www.androidsx.com @ 2012-02-05 13:47:47 -->
