<?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>Java9 on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/java9/</link>
    <description>Recent content in Java9 on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #e9d956c0c0154a221ad83c925346a8fa0e72f866</copyright>
    <lastBuildDate>Mon, 30 Apr 2018 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/java9/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Analyzing Java Problems – Tools, Snippets and Workflows</title>
      <link>https://www.hascode.com/analyzing-java-problems-tools-snippets-and-workflows/</link>
      <pubDate>Mon, 30 Apr 2018 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/analyzing-java-problems-tools-snippets-and-workflows/</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;When we need to investigate the cause for a dysfunctional Java application we have a plethora of tools available that on the one hand help us in gathering information, artifacts and statistics and on the other hand help us in processing this information and identifying possible problems.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The following list of tools, snippets, workflows and information about specific artifacts could provide a starting point for analyzing such problems and covers topics like heap-dumps, thread-dumps, heap-histograms, heap-regions, garbage-collection-logs, hotspot-compiler/codecache-logs, debugging native-memory, tools for heap-dump-analysis, JVM unified logging and more..&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Reactive Streams – Java 9 Flow API, RxJava, Akka and Reactor Examples</title>
      <link>https://www.hascode.com/reactive-streams-java-9-flow-api-rxjava-akka-and-reactor-examples/</link>
      <pubDate>Sun, 14 Jan 2018 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/reactive-streams-java-9-flow-api-rxjava-akka-and-reactor-examples/</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;Reactive Streams is an initiative trying to standardize asynchronous stream processing with non-blocking  back-pressure. With Java 9, new classes in the &lt;em&gt;java.util.concurrent.flow&lt;/em&gt; package offer a semantically equivalent counterpart to this standard that may be adopted by other frameworks.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In the following short tutorial we’re implementing examples for reactive streams with Java 9 and the Flow API, with RxJava2, with Akka, with Reactor and finally there is an example in RxJava1, too though it does not follow the standard.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Snippet: Java 9 Modules and JPMS</title>
      <link>https://www.hascode.com/snippet-java-9-modules-and-jpms/</link>
      <pubDate>Mon, 17 Apr 2017 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/snippet-java-9-modules-and-jpms/</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;Playing around with the new module system in Java 9 I simply wanted to write down how to achieve the most basic tasks.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Therefore I created the following module how-to based upon a simple demonstration project consisting of two dependant modules.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;imageblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;img src=&#34;component-diagram.png&#34; alt=&#34;component diagram&#34;/&gt;
&lt;/div&gt;
&lt;div class=&#34;title&#34;&gt;Figure 1. Modules Component-Diagram&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_prerequisites_and_setup&#34;&gt;Prerequisites and Setup&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;We need an early access build of the Java ™ 9 JDK, available for download &lt;a href=&#34;https://jdk9.java.net/download/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In addition we should make sure, that our environment variable &lt;em&gt;JAVA_HOME&lt;/em&gt; is set to the corresponding directory and calling &lt;em&gt;java -version&lt;/em&gt; returns something similar to this:&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
