<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xml:base="https://opensource.com/">
  <channel>
    <title>Java</title>
        <link>https://opensource.com/tags/java</link>
        <description/>
    <language>en</language>
    
    <item>
  <title>A distributed database load-balancing architecture with ShardingSphere</title>
  <link>https://opensource.com/article/23/4/distributed-database-load-balancing-architecture-shardingsphere</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;A distributed database load-balancing architecture with ShardingSphere&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/wuweijie" class="username"&gt;wuweijie&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-04-14T03:00:00-04:00" title="Friday, April 14, 2023 - 03:00" class="datetime"&gt;Fri, 04/14/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Load balance your distributed database the right way.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Apache ShardingSphere is a distributed database ecosystem that transforms any database into a distributed database and enhances it with data sharding, elastic scaling…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/4/distributed-database-load-balancing-architecture-shardingsphere" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/water-stone-balance-eight-8.png?itok=AteXvUad" width="360" height="202" alt="eight stones balancing" title="eight stones balancing" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Fri, 14 Apr 2023 07:00:00 +0000</pubDate>
    <dc:creator>wuweijie</dc:creator>
    <guid isPermaLink="false">70556 at https://opensource.com</guid>
    </item>
<item>
  <title>A guide to Java for loops</title>
  <link>https://opensource.com/article/23/1/java-for-loops</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;A guide to Java for loops&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-01-20T03:00:00-05:00" title="Friday, January 20, 2023 - 03:00" class="datetime"&gt;Fri, 01/20/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;This article covers how to use the Java for loop and the Java Stream method.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;In programming, you often need your code to iterate over a set of data to process each item individually. You use control structures to direct the flow of a program, and the…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/1/java-for-loops" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/java-coffee-beans.jpg?itok=e7_hP3lP" width="360" height="202" alt="Coffee beans" title="Coffee beans" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Fri, 20 Jan 2023 08:00:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70389 at https://opensource.com</guid>
    </item>
<item>
  <title>A 4-minute guide to Java loops</title>
  <link>https://opensource.com/article/23/1/java-loops</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;A 4-minute guide to Java loops&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-01-14T03:00:00-05:00" title="Saturday, January 14, 2023 - 03:00" class="datetime"&gt;Sat, 01/14/2023 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Whether you use a while loop, a do while loop, or an infinite loop, understanding how loops work is vital to Java programming.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;A while loop performs a set of tasks for as long as some predefined condition is true. This is considered a control structure that directs the flow of a program. It's a way…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/1/java-loops" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/fail_progress_cycle_momentum_arrow.png?itok=QQ2M_rP5" width="360" height="202" alt="arrows cycle symbol for failing faster" title="arrows cycle symbol for failing faster" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Sat, 14 Jan 2023 08:00:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70392 at https://opensource.com</guid>
    </item>
<item>
  <title>How to use methods in Java</title>
  <link>https://opensource.com/article/23/1/java-methods</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;How to use methods in Java&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2023-01-10T10:25:00-05:00" title="Tuesday, January 10, 2023 - 10:25" class="datetime"&gt;Tue, 01/10/2023 - 10:25&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Learn the definition of a method in Java, how to use methods, and when to use methods in this handy tutorial.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;A method in Java (called a "function" in many other programming languages) is a portion of code that's been grouped together and labeled for reuse. Methods are useful because…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/23/1/java-methods" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/java-coffee-mug.jpg?itok=GfIE3Vcn" width="360" height="202" alt="What is your favorite open source Java IDE?" title="What is your favorite open source Java IDE?" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Tue, 10 Jan 2023 15:25:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70395 at https://opensource.com</guid>
    </item>
<item>
  <title>Use my Groovy color wheel calculator</title>
  <link>https://opensource.com/article/22/12/groovy-color-wheel</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Use my Groovy color wheel calculator&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/clhermansen" class="username"&gt;clhermansen&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2022-12-18T03:00:00-05:00" title="Sunday, December 18, 2022 - 03:00" class="datetime"&gt;Sun, 12/18/2022 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Color wheels are useful in many situations and building one in Groovy is a great exercise to learn both how the wheel works and the, well, grooviness of Groovy.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Every so often, I find myself needing to calculate complementary colors. For example, I might be making a line graph in a web app or bar graphs for a report. When this happens…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/22/12/groovy-color-wheel" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/tiedye-color-dye-rainbow-diy.png?itok=d0Bwy8FV" width="360" height="202" alt="tie dye fabric" title="tie dye fabric" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Sun, 18 Dec 2022 08:00:00 +0000</pubDate>
    <dc:creator>clhermansen</dc:creator>
    <guid isPermaLink="false">70356 at https://opensource.com</guid>
    </item>
<item>
  <title>Try this Java file manager on Linux</title>
  <link>https://opensource.com/article/22/12/linux-file-manager-jfileprocessor</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Try this Java file manager on Linux&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2022-12-02T03:00:00-05:00" title="Friday, December 2, 2022 - 03:00" class="datetime"&gt;Fri, 12/02/2022 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;JFileProcessor takes a minimal approach to both design and function as a Linux file manager.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Computers are fancy filing cabinets, full of virtual folders and files waiting to be referenced, cross-referenced, edited, updated, saved, copied, moved, renamed, and…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/22/12/linux-file-manager-jfileprocessor" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/java-coffee-beans.jpg?itok=e7_hP3lP" width="360" height="202" alt="Coffee beans" title="Coffee beans" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Fri, 02 Dec 2022 08:00:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70222 at https://opensource.com</guid>
    </item>
<item>
  <title>Use arrays in Java</title>
  <link>https://opensource.com/article/22/11/arrays-java</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Use arrays in Java&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2022-11-24T03:00:00-05:00" title="Thursday, November 24, 2022 - 03:00" class="datetime"&gt;Thu, 11/24/2022 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Instead of tracking dozens of individual variables, use an array in Java to collect and store data in a structured way.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;In the Java programming language, an array is an ordered collection of data. You can use an array to store information in a structured way. It's useful to know the various…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/22/11/arrays-java" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/java-coffee-mug.jpg?itok=GfIE3Vcn" width="360" height="202" alt="What is your favorite open source Java IDE?" title="What is your favorite open source Java IDE?" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Thu, 24 Nov 2022 08:00:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70269 at https://opensource.com</guid>
    </item>
<item>
  <title>Use a hashmap in Java</title>
  <link>https://opensource.com/article/22/11/hashmap-java</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Use a hashmap in Java&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2022-11-13T03:00:00-05:00" title="Sunday, November 13, 2022 - 03:00" class="datetime"&gt;Sun, 11/13/2022 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;A hashmap is a useful way to store structured data in Java.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;In the Java programming language, a hashmap is a list of associated values. Java uses hashmaps to store data. If you keep a lot of structured data, it's useful to know the…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/22/11/hashmap-java" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/2022-07/coffee-java-seven.webp?itok=zSOP9oPS" width="360" height="202" alt="Coffee" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Sun, 13 Nov 2022 08:00:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70310 at https://opensource.com</guid>
    </item>
<item>
  <title>Groovy vs Java: Connecting a PostgreSQL database with JDBC</title>
  <link>https://opensource.com/article/22/10/groovy-vs-java-sql</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Groovy vs Java: Connecting a PostgreSQL database with JDBC&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/clhermansen" class="username"&gt;clhermansen&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2022-10-11T03:00:00-04:00" title="Tuesday, October 11, 2022 - 03:00" class="datetime"&gt;Tue, 10/11/2022 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;This example demonstrates how Groovy streamlines the clunkiness of Java.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;Lately, I've been looking at how Groovy streamlines the slight clunkiness of Java. This article examines some differences between connecting to a PostgreSQL database using…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/22/10/groovy-vs-java-sql" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/java-coffee-beans.jpg?itok=e7_hP3lP" width="360" height="202" alt="Coffee beans" title="Coffee beans" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Tue, 11 Oct 2022 07:00:00 +0000</pubDate>
    <dc:creator>clhermansen</dc:creator>
    <guid isPermaLink="false">70221 at https://opensource.com</guid>
    </item>
<item>
  <title>Install JDBC on Linux in 3 steps</title>
  <link>https://opensource.com/article/22/9/install-jdbc-linux</link>
  <description>&lt;span class="field field--name-title field--type-string field--label-hidden"&gt;Install JDBC on Linux in 3 steps&lt;/span&gt;
&lt;span class="field field--name-uid field--type-entity-reference field--label-hidden"&gt;&lt;a title="View user profile." href="https://opensource.com/users/seth" class="username"&gt;sethkenlon&lt;/a&gt;&lt;/span&gt;
&lt;span class="field field--name-created field--type-created field--label-hidden"&gt;&lt;time datetime="2022-09-23T03:00:00-04:00" title="Friday, September 23, 2022 - 03:00" class="datetime"&gt;Fri, 09/23/2022 - 03:00&lt;/time&gt;
&lt;/span&gt;

            &lt;div class="clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item"&gt;  &lt;p&gt;Install Java, install JDBC with Maven, and install the database. Then you're ready to interact with databases in your Java code.&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"&gt;  &lt;p&gt;When you write an application, it's common to require data storage. Sometimes you're storing assets your application needs to function, and other times you're storing user…&lt;/p&gt;


&lt;/div&gt;
      
            &lt;div class="field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item"&gt;       &lt;a href="https://opensource.com/article/22/9/install-jdbc-linux" hreflang="en"&gt;&lt;img loading="lazy" src="https://opensource.com/sites/default/files/styles/article_teaser/public/lead-images/java-coffee-mug.jpg?itok=GfIE3Vcn" width="360" height="202" alt="What is your favorite open source Java IDE?" title="What is your favorite open source Java IDE?" class="image-style-article-teaser"&gt;

&lt;/a&gt;
   &lt;/div&gt;
      </description>
  <pubDate>Fri, 23 Sep 2022 07:00:00 +0000</pubDate>
    <dc:creator>sethkenlon</dc:creator>
    <guid isPermaLink="false">70200 at https://opensource.com</guid>
    </item>

  </channel>
</rss>
