<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Deferred on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/deferred/</link>
    <description>Recent content in Deferred on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #e9d956c0c0154a221ad83c925346a8fa0e72f866</copyright>
    <lastBuildDate>Sun, 27 Sep 2015 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/deferred/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using Deferred Objects and Promises with Java 8 and JDeferred</title>
      <link>https://www.hascode.com/using-deferred-objects-and-promises-with-java-8-and-jdeferred/</link>
      <pubDate>Sun, 27 Sep 2015 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/using-deferred-objects-and-promises-with-java-8-and-jdeferred/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Promises may help us when dealing with asynchronous code and we need to merge, pipe or track the progress and the results of single parts of computation in our applications.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In the following tutorial I’d like to demonstrate a small library, JDeferred that helps us for this specific use case.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;imageblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;img src=&#34;jdeferred-example-running-in-eclipse-ide-1024x754.png&#34; alt=&#34;jdeferred example running in eclipse ide 1024x754&#34;/&gt;
&lt;/div&gt;
&lt;div class=&#34;title&#34;&gt;Figure 1. JDeferred examples running in Eclipse IDE.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_dependencies&#34;&gt;Dependencies&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Using Maven here, we simply need to add one dependency for &lt;em&gt;jdeferred-core&lt;/em&gt; to our &lt;em&gt;pom.xml&lt;/em&gt;:&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
