2021 Call for Code Awards: Live from New York, with SNL’s Colin Jost! Learn more

5 things you didn’t know about Java programming

Introduction

So you think you know about Java programming? The fact is, most developers scratch the surface of the Java platform, learning just enough to get the job done. In this series, Ted Neward digs beneath the core functionality of the Java platform to uncover little known facts that could help you solve even the stickiest programming challenges.

  • Article
    Java Object Serialization

    In his first article of this new series, Ted Neward gives you five reasons to look twice at the Java Object Serialization API, including tricks (and code) for refactoring, encrypting, and validating serialized data.

  • Article
    The Java 6 Collections API, Part 1

    Ted Neward dispenses five tips for doing more with Collections, including a primer on customizing and extending the Java Collections API.

  • Article
    The Java 6 Collections API, Part 2

    You can take Java Collections anywhere, but don''t take them for granted. Collections hold mysteries and can make trouble if you don''t treat them right. In this installment of 5 things, Ted Neward explores the complex and mutable side of the Java Collections API, with tips that will help you…

  • Article
    java.util.concurrent, Part 1

    Writing multithreaded code that both performs well and protects applications against corruption is just plain hard -- which is why we have java.util.concurrent. Ted Neward shows you how concurrent Collections classes like CopyOnWriteArrayList, BlockingQueue, and ConcurrentMap retrofit standard Collections classes for your concurrency programming needs.

  • Article
    java.util.concurrent, Part 2

    Ted Neward introduces five more of his Java programming must-haves from the java.util.concurrent package.

  • Article
    JARs

    Many Java developers never think beyond the basics of JARs -- only using them to bundle classes before shipping them off to the production servers. But a JAR is more than just a renamed ZIP file. Learn how to use Java Archive files at their fullest capacity, including tips for…

  • Article
    Java performance monitoring, Part 1

    Ted Neward directs your attention to tools for Java performance monitoring, starting with five tips for using Java''s built-in profiler, JConsole, to collect and analyze performance data.

  • Article
    Java performance monitoring, Part 2

    Find out how lightweight (and in some cases experimental) Java process monitoring and analysis tools can help you hone in on performance bottlenecks like thread starvation, deadlocks, and object leaks.

  • Article
    Java Database Connectivity

    Ted Neward offers an introduction to newer JDBC features.

  • Article
    Command-line flags for the JVM

    Learn how to monitor and log compiler performance, disable explicit garbage collection (System.gc();), extend the JRE, and more.

  • Article
    Everyday Java tools

    Some Java tools defy categorization and are frequently collected under the rubric of things that work. This installment of 5 things offers up a collection of tools you'll be glad to have, even if you end up storing them in your kitchen drawer.

  • Article
    Apache Maven

    You might be familiar with profiles, but did you know that you can use them in Maven to execute specific behaviors in different environments? This installment in the 5 things series looks beyond Maven's build features, and even its basic tools for managing the project life cycle, delivering five tips…

  • Article
    Enhancing Swing

    Swing is an older toolkit, developed long before the advent of beautiful user interfaces, and it's missing some of the components you might need for building rich UIs. Fortunately, open source projects like Substance, SwingX, and the Java Look-and-Feel Graphics Repository make up the difference. Author Steven Haines shows you…

  • Article
    Multithreaded Java programming

    Multithreaded programming is never easy, but it does help to understand how the JVM processes subtly different code constructs. Steven Haines shares five tips that will help you make more informed decisions when working with synchronized methods, volatile variables, and atomic classes.

  • Article
    Apache Maven plugins

    Learn how plugin goals map to the Maven lifecycle, then get started with four plugins that will take your projects to the next level, including Maven Site from GitHub and Maven Cargo from Codehaus.

  • Article
    Java 10

    Hot on the heels of Java 9, Java 10 is here, with a cornucopia of cool new features for code geeks, container nerds, and garbage-collector geniuses. There''s no time like the present to find out what''s new in JDK 10.

  • Article
    MicroProfile 1.3

    Get the highlights of what''s new in MicroProfile 1.3, with code examples that will have you up and running in no time.