Home » Java » Core Java

Core Java

[EBOOK] Top 10 Java Performance Problems

Interested to learn more? Then you should download the relevant ebook here. Most performance issues in Java can be attributed to a handful of root causes. Sure, occasionally there are some bizarre corner cases that came out of the blue and wreaked havoc in an app, but for the most part performance issues in Java are all pretty cookie cutter. ...

Read More »

Apache Spark RDD and Java Streams

A few months ago, I was fortunate enough to participate in a few PoCs (proof-of-concepts) that used Apache Spark. There, I got the chance to use resilient distributed datasets (RDDs for short), transformations, and actions. After a few days, I realized that while Apache Spark and the JDK are very different platforms, there are similarities between RDD transformations and actions, ...

Read More »

Java 9 Module System (Jigsaw) @ LJC’s HackTheTower

Today we spent half a day, on our first HackTheTower event. Members of London’s Java User Group (aka LJC),  gathered on the 26th floor of  ‘SalesForceTower’  (aka Heron Tower) at the City of London, invited by Heather VanCura is the Chair of the Java Community Process Mani Sarkar, LJC Simon Maple, Director of Developer Relations at ZeroTurnaround to talk and learn about one ...

Read More »

New Distributed Primitives for Developers

Object-Oriented Primitives (in-process primitives) As a Java developer, I’m well familiar with object-oriented concepts such as class, object, inheritance, encapsulation, polymorphism, etc. In addition to the object-oriented concepts, I’m also well familiar with the Java runtime, what features it provides, how I can tune it, how it manages my applications, what would be the lifecycle of my object and the ...

Read More »

Oracle JDK 9 Early Access Documentation Updated

Raymond Gallardo‘s 4 April 2017 post Early Access documentation for Oracle JDK 9 has been updated today announces updates to the Oracle JDK9 Documentation Early Access page. Gallardo highlights a few of the updated sections including What’s New in Oracle JDK 9, Oracle JDK 9 Migration Guide, HotSpot Virtual Machine Garbage Collection Tuning Guide (including Garbage-First Garbage Collector Tuning), javapackager ...

Read More »

Implications of the Presence of StringBuffer

When I am working on legacy code and run across instances of StringBuffer, I typically replace them with instances of StringBuilder. Although a performance advantage can be gained from this change, I often change it in places I know will have little noticeable effect in terms of performance. I feel it’s worth making the change for a variety of reasons ...

Read More »

Use Cases for Java Enhanced Enums

In the message Enhanced Enums — use cases, Brian Goetz writes, “We’re hoping to get user feedback on the feature [Enhanced Enums] as it is now implemented.” He states the first purpose of his message, “To get things started, here are some typical use cases where generic enums might be useful.” The first of the two presented examples is refactoring ...

Read More »

A Java gist on zip and unzip

Compressing is one of the major actions that can be issued in our code when it comes to writing files. Thus I find a simple java snippet on zip and unzip essential and  has to be easily accessed. This gist is in plain java and stores two files in a zip. Once done the produced zip is open and its ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns