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: Tue, 21 Nov 2017 05:09:37 -0800

Last Build Date: Tue, 21 Nov 2017 05:09:37 -0800

 



Reducing Unbuffered Streams

Mon, 20 Nov 2017 05:36:00 -0800

Language: Java, Expertise: Intermediate - Learn how to significantly reduce the number of native calls.



Converting Numbers to Strings

Mon, 13 Nov 2017 01:41:00 -0800

Language: Java, Expertise: Beginner - Learn the right way to convert numbers to Strings.



Obtaining a Thread Dump of Your Java App in Linux

Thu, 09 Nov 2017 02:26:00 -0800

Language: Java, Expertise: Intermediate - Learn how to trigger a thread dump in Java on Linux os.



Reasons for Android Runtime Garbage Collection

Wed, 08 Nov 2017 02:27:00 -0800

Language: Java, Expertise: Advanced - See some suggestions regarding what could be triggering Garbage Collection in your Android run time environment.



Parsing and Converting Numbers in Java

Thu, 02 Nov 2017 02:27:00 -0700

Language: Java, Expertise: Intermediate - Learn how to use the API without allocating unnecessary objects.



How to Enable Java 9 GC Logs

Tue, 31 Oct 2017 02:44:00 -0700

Language: java, Expertise: Advanced - Learn more about how the release of Java 9 re-implemented GC logging using the Unified GC logging framework.



Avoid the XML Encoding Trap

Wed, 25 Oct 2017 00:52:00 -0700

Language: Java, Expertise: Beginner - Learn why it is not a good idea to read an XML file and store it in a String.



Understanding the ArrayStoreException in Java

Mon, 23 Oct 2017 01:17:00 -0700

Language: Java, Expertise: Intermediate - Learn more about how to avoid getting the ArrayStoreException in Java.



How to Schedule a Task to Start After a Defined Interval

Fri, 20 Oct 2017 03:00:00 -0700

Language: Java, Expertise: Intermediate - Learn how to schedule a task to begin after an assigned interval.



Taking Advantage of Immutable Objects in Java

Wed, 18 Oct 2017 03:16:00 -0700

Language: Java, Expertise: Intermediate - Integer and also Boolean are immutable; so, it is a bad idea to create objects that represent the same value, those classes have built-in caches for frequently used instances.



Performance Measurements with String Class Usage

Mon, 16 Oct 2017 02:14:00 -0700

Language: Java, Expertise: Intermediate - See how the new keyword definitely consumes more time when compared to direct initializing the value to a String object.



Wrapping Unbuffered Writes to an OutputStreamWriter in Java

Wed, 11 Oct 2017 02:03:00 -0700

Language: Java, Expertise: Intermediate - OutputStreamWriter uses memory for each call to its write() methods. Learn why you should wrap it in a BufferedWriter.



Identifying the Unicode of Characters in a Given String

Mon, 09 Oct 2017 02:10:00 -0700

Language: Java, Expertise: Intermediate - Learn how the String class facilitates finding the unicode of characters in a String.



Read the Contents of a JAR File Using Java

Fri, 06 Oct 2017 01:27:00 -0700

Language: Java, Expertise: Intermediate - Java provides a very easy mechanism to read jar files.



Do not Allow Critical Data to be Serialized

Mon, 02 Oct 2017 03:06:00 -0700

Language: Java, Expertise: Intermediate - Learn how to use the transient keyword for the variable that you do not want to be serialized.



Keeping Tabs on all Threads in Your Environment

Fri, 29 Sep 2017 03:26:00 -0700

Language: Java, Expertise: Intermediate - See how to monitor all of your threads in Java.  



Testing for String Equality

Wed, 27 Sep 2017 02:15:00 -0700

Language: Java, Expertise: Beginner See an example of the best way to check for string equality.



Palindrome Validation Using Java

Mon, 25 Sep 2017 03:07:00 -0700

Language: Java, Expertise: Intermediate - Learn to use the StringBuffer/Builder and the reverse method to get the string reversed.



Finding the Count of All Active Threads

Mon, 18 Sep 2017 01:11:00 -0700

Language: Java, Expertise: Intermediate - Learn how to return the count of all the active threads in the current run time.



Disabling AutoCommit in JDBC

Tue, 05 Sep 2017 01:16:00 -0700

Language: Java, Expertise: Intermediate - Learn why it is unwise to commit after every insert.



Understanding Lambda Expresssions with a Simple Method Call

Fri, 25 Aug 2017 04:01:00 -0700

Language: Java, Expertise: Intermediate - Lambda expressions have simplified the way we write code. Learn how to use a method from an interface.



Underscore Numerals in Java

Tue, 22 Aug 2017 04:06:00 -0700

Language: Java, Expertise: Intermediate - Using underscores for numerals is allowed in Java for better readability and representation.



How to Use Scanner to Receive Command Line Input

Fri, 18 Aug 2017 04:04:00 -0700

Language: Java, Expertise: Intermediate - Scanner is a simple and easy-to-use utility provided by Java.



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.