Subscribe: DevX: Latest Java Articles
http://services.devx.com/outgoing/javafeed.xml
Preview: DevX: Latest Java Articles

DevX: Latest Java Articles



www.DevX.com



Published: Thu, 17 Aug 2017 18:25:53 -0700

Last Build Date: Thu, 17 Aug 2017 18:25:53 -0700

 



Understanding Optional

Mon, 14 Aug 2017 04:15:00 -0700

Language: Java, Expertise: Intermediate - Get to know optional. This example can be fine-tuned as needed to explore all of the methods supported.



Using ThreadMXBean to Understand Threads

Tue, 08 Aug 2017 04:48:00 -0700

Language: Java, Expertise: Intermediate - Use this interface to learn more about the threads in your code.



Using valueOf() Instead of toString()

Mon, 07 Aug 2017 04:07:00 -0700

Language: Java, Expertise: Intermediate - See why the valueOf() method is useful when you do not know the value contained and it might throw a NullPointerException.



Java Collections Performance, MAP

Wed, 02 Aug 2017 05:00:00 -0700

Language: Java, Expertise: Intermediate - Improve Java performance with MAP.



New Way to Iterate a List in Java 8

Tue, 01 Aug 2017 05:02:00 -0700

Language: Java, Expertise: Intermediate - Learn a new way to iterate a list in Java 8.



Java Collections Performance, SET

Wed, 26 Jul 2017 05:14:00 -0700

Language: Java, Expertise: Intermediate - A set is a collection that contains no duplicate elements.



Making a File Read-only Using Java

Tue, 25 Jul 2017 05:03:00 -0700

Language: Java, Expertise: Intermediate - Explore how the setReadOnly() method works in Java.



Java Collections Performance, LISTS

Wed, 19 Jul 2017 05:02:00 -0700

Language: Java, Expertise: Intermediate - A list is an ordered collection of elements.



Java BlockingQueue

Tue, 18 Jul 2017 05:00:00 -0700

Language: Java, Expertise: Intermediate - Learn how to effectively use BlockingQueue in Java.



Using String.join to Concatenate Strings

Fri, 07 Jul 2017 05:05:00 -0700

Language: Java, Expertise: Intermediate - Learn to use this easy utility method in String class.



Calling Java Methods Using Lambda Expressions

Wed, 05 Jul 2017 05:44:00 -0700

Language: Java, Expertise: Intermediate - Explore a few expressions for calling Java methods.



UUID in Java

Mon, 05 Jun 2017 05:00:00 -0700

Language: Java, Expertise: Advanced - Learn to create a new random UUID.



Comparison of Arrays

Mon, 29 May 2017 05:00:00 -0700

Language: Java, Expertise: Intermediate - Easy code for comparing arrays in Java.



Timer in Java

Mon, 22 May 2017 06:35:00 -0700

Language: Java, Expertise: Intermediate - Explore how to create a task timer in Java.



Increasing the Size of an Array

Mon, 15 May 2017 05:07:00 -0700

Language: Java, Expertise: Intermediate - Learn how to increase the size of an array.



Reading Updated/Latest Value in Multithreading Environment

Mon, 08 May 2017 05:16:00 -0700

Language: Java, Expertise: Intermediate — Learn a good way to ensure that your variables show the most recently updated values.



Making a Java List Thread Safe

Mon, 01 May 2017 07:36:00 -0700

Language: Java, Expertise: Intermediate — The java.util.list is not thread safe by default. Learn a quick workaround to make your list thread safe.



Best Practices for Multithreading in Java

Tue, 28 Mar 2017 10:05:00 -0700

Get a glimpse at the basics of threads and multithreading and the best practices that should be adopted when working with multithreading in enterprise applications.



Creating a Spring Read Only and Native Query

Wed, 15 Mar 2017 00:11:00 -0700

Language: Enterprise, Expertise: Intermediate — For reading operations, the transaction configuration readOnly flag should be set to true and in order to execute native queries, the @Query annotation parameter, nativeQuery flag, should be set to true.



Accessing and Managing Third-Party Libraries

Mon, 13 Mar 2017 13:49:00 -0700

Learn about package management in your programming language and take advantage of all the goodness that's out there.



Using a JDBC Template

Fri, 10 Mar 2017 02:49:00 -0800

Language: Java, Expertise: Intermediate — Spring provides a nice abstraction on top of the JDBC API using JdbcTemplate and also provides great transaction management capabilities using annotation-based approach.



Understanding the Time Taken to Execute a Task

Tue, 07 Mar 2017 03:57:00 -0800

Language: Java, Expertise: Intermediate



Use the @RestController Annotation

Thu, 02 Mar 2017 18:41:00 -0800

Language: Enterprise Intermediate



Variable Argument Method

Fri, 24 Feb 2017 05:52:00 -0800




Failing Test After Time Expired in Mockito

Fri, 10 Feb 2017 00:42:00 -0800

Language: Enterprise||Expertise: Intermediate