<?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>Java Code Geeks &#187; Core Java</title> <atom:link href="http://www.javacodegeeks.com/java/core-java/feed" rel="self" type="application/rss+xml" /><link>http://www.javacodegeeks.com</link> <description>Java 2 Java Developers Resource Center</description> <lastBuildDate>Thu, 23 May 2013 22:00:44 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <item><title>Five advanced Java Synchronizers you probably don&#8217;t know</title><link>http://www.javacodegeeks.com/2013/05/five-advanced-java-synchronizers-you-probably-dont-know.html</link> <comments>http://www.javacodegeeks.com/2013/05/five-advanced-java-synchronizers-you-probably-dont-know.html#comments</comments> <pubDate>Wed, 22 May 2013 13:00:23 +0000</pubDate> <dc:creator>Bohdan Bandrivskyy</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Concurrency]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=13095</guid> <description><![CDATA[Besides the common synchronize which is based in the lock bit that every Java object has, you have more sophisticated synchronizers in java, such as: Semaphore – Use the concept of a permit to indicate a max number of allowed threads in a place. When you use the value 1, the behavior its similar to synchronize, also called binary semaphore. There [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/five-advanced-java-synchronizers-you-probably-dont-know.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Lazy sequences implementation for Java 8</title><link>http://www.javacodegeeks.com/2013/05/lazy-sequences-implementation-for-java-8.html</link> <comments>http://www.javacodegeeks.com/2013/05/lazy-sequences-implementation-for-java-8.html#comments</comments> <pubDate>Mon, 20 May 2013 13:00:19 +0000</pubDate> <dc:creator>Tomasz Nurkiewicz</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Java 8]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12867</guid> <description><![CDATA[I just published LazySeq library on GitHub &#8211; result of my Java 8 experiments recently. I hope you will enjoy it. Even if you don&#8217;t find it very useful, it&#8217;s still a great lesson of functional programming in Java 8 (and in general). Also it&#8217;s probably the first community library targeting Java 8! Introduction Lazy [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/lazy-sequences-implementation-for-java-8.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Look At It Carefully And You Will Find Something To Improve</title><link>http://www.javacodegeeks.com/2013/05/look-at-it-carefully-and-you-will-find-something-to-improve.html</link> <comments>http://www.javacodegeeks.com/2013/05/look-at-it-carefully-and-you-will-find-something-to-improve.html#comments</comments> <pubDate>Sat, 18 May 2013 12:00:22 +0000</pubDate> <dc:creator>Hildeberto Mendonca</dc:creator> <category><![CDATA[Core Java]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12954</guid> <description><![CDATA[I propose you an exercise: when you come back to work tomorrow morning, navigate through the source code of your project and try to find opportunities of refactoring. Do it even if your boss didn&#8217;t ask for it. Do it because you want some exciting time at work. Refactoring is the art of changing what [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/look-at-it-carefully-and-you-will-find-something-to-improve.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Minor Gotchas from migration to Java 7</title><link>http://www.javacodegeeks.com/2013/05/minor-gotchas-from-migration-to-java-7.html</link> <comments>http://www.javacodegeeks.com/2013/05/minor-gotchas-from-migration-to-java-7.html#comments</comments> <pubDate>Fri, 17 May 2013 10:00:17 +0000</pubDate> <dc:creator>Mike Miller</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Java 7]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12924</guid> <description><![CDATA[After several years of pushing, we are finally starting to pull our application out of the dark ages  in terms of software levels and one of those steps is upgrading our Java version to Java 7. For the most part, this has been fairly painless, but there have been a couple surprises: Test cases that [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/minor-gotchas-from-migration-to-java-7.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Java Reflection oddities with inner class constructor parameters</title><link>http://www.javacodegeeks.com/2013/05/java-reflection-oddities-with-inner-class-constructor-parameters.html</link> <comments>http://www.javacodegeeks.com/2013/05/java-reflection-oddities-with-inner-class-constructor-parameters.html#comments</comments> <pubDate>Wed, 15 May 2013 16:00:20 +0000</pubDate> <dc:creator>Stef Epardaud</dc:creator> <category><![CDATA[Core Java]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12830</guid> <description><![CDATA[About Java inner classes Java allows member classes (classes that are defined inside other classes), local classes (classes that are defined inside statement blocks) and anonymous classes (classes with no names): &#160; &#160; &#160; &#160; &#160; class Outer { Object anonymous = new Object(){}; // this is an anonymous class // anonymous initialisation block { [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/java-reflection-oddities-with-inner-class-constructor-parameters.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Java 8: CompletableFuture in action</title><link>http://www.javacodegeeks.com/2013/05/java-8-completablefuture-in-action.html</link> <comments>http://www.javacodegeeks.com/2013/05/java-8-completablefuture-in-action.html#comments</comments> <pubDate>Tue, 14 May 2013 10:00:48 +0000</pubDate> <dc:creator>Tomasz Nurkiewicz</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Concurrency]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12798</guid> <description><![CDATA[After thoroughly exploring CompletableFuture API in Java 8 we are prepared to write a simplistic web crawler. We solved similar problem already using ExecutorCompletionService, Guava ListenableFuture and Scala/Akka. I choose the same problem so that it&#8217;s easy to compare approaches and implementation techniques. First we shall define a simple, blocking method to download the contents [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/java-8-completablefuture-in-action.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Java 8: Definitive guide to CompletableFuture</title><link>http://www.javacodegeeks.com/2013/05/java-8-definitive-guide-to-completablefuture.html</link> <comments>http://www.javacodegeeks.com/2013/05/java-8-definitive-guide-to-completablefuture.html#comments</comments> <pubDate>Mon, 13 May 2013 22:00:44 +0000</pubDate> <dc:creator>Tomasz Nurkiewicz</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Concurrency]]></category> <category><![CDATA[Java 8]]></category> <category><![CDATA[JMS]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12696</guid> <description><![CDATA[Java 8 is coming so it&#8217;s time to study new features. While Java 7 and Java 6 were rather minor releases, version 8 will be a big step forward. Maybe even too big? Today I will give you a thorough explanation of new abstraction in JDK 8 &#8211; CompletableFuture&#60;T&#62;. As you all know Java 8 [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/java-8-definitive-guide-to-completablefuture.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Building smart Builders</title><link>http://www.javacodegeeks.com/2013/05/building-smart-builders.html</link> <comments>http://www.javacodegeeks.com/2013/05/building-smart-builders.html#comments</comments> <pubDate>Mon, 13 May 2013 04:00:26 +0000</pubDate> <dc:creator>Marco Castigliego</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Design Patterns]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12754</guid> <description><![CDATA[When building an API, you should always think about who is going to use it. When the API is simply and clear to use, then the users are happy. When the users are happy then everyone is happy too. But great usability is not always easy to achieve. There are patterns that help on this, [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/building-smart-builders.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Train Wreck Pattern – A much improved implementation in Java 8</title><link>http://www.javacodegeeks.com/2013/05/train-wreck-pattern-a-much-improved-implementation-in-java-8.html</link> <comments>http://www.javacodegeeks.com/2013/05/train-wreck-pattern-a-much-improved-implementation-in-java-8.html#comments</comments> <pubDate>Sun, 12 May 2013 15:54:17 +0000</pubDate> <dc:creator>Mohamed Sanaulla</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Design Patterns]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12752</guid> <description><![CDATA[Venkat Subramaniam at a talk today mentioned about Cascade Method pattern or Train Wreck pattern which looks something like: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; >someObject.method1().method2().method3().finalResult() Few might associate this with the builder pattern, but its not the same. Anyways lets have a look at an example for this in Java with [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/train-wreck-pattern-a-much-improved-implementation-in-java-8.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>JDK 8&#8242;s Calendar.Builder</title><link>http://www.javacodegeeks.com/2013/05/jdk-8s-calendar-builder.html</link> <comments>http://www.javacodegeeks.com/2013/05/jdk-8s-calendar-builder.html#comments</comments> <pubDate>Fri, 10 May 2013 16:00:12 +0000</pubDate> <dc:creator>Dustin Marx</dc:creator> <category><![CDATA[Core Java]]></category> <category><![CDATA[Java 8]]></category><guid isPermaLink="false">http://www.javacodegeeks.com/?p=12698</guid> <description><![CDATA[One of the defining characteristics of the brave new world of Java is the increasing prevalence of the builder pattern in the Java space. Groovy, which appears to be the most popular alternative language (to Java) on the JVM, is well-known for its heavy use of the Builder in both the core libraries and in [...]]]></description> <wfw:commentRss>http://www.javacodegeeks.com/2013/05/jdk-8s-calendar-builder.html/feed</wfw:commentRss> <slash:comments>0</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 2/25 queries in 0.080 seconds using apc
Object Caching 1110/1231 objects using apc
Content Delivery Network via jcg.javacodegeeks.netdna-cdn.com

Served from: www.javacodegeeks.com @ 2013-05-24 07:43:03 -->