BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Java Content on InfoQ

  • Modern Enterprise Performance Analysis Antipatterns

    In this article we present some of the most common performance analysis antipatterns in the enterprise platform, expressed in terms of their basic causes along with remediation strategies.

  • ActiveJPA – Active Record Pattern for JPA

    ActiveJPA is a Java implementation of Martin Fowler’s Active Record pattern that wraps around JPA and provides useful abstractions to simplify data access. With ActiveJPA, models themselves act as a DAO and interact with the database without requiring additional code for the DAL. In this article the primary committer discusses ActiveJPA and provides plenty of usage examples.

  • Discover and Diagnose Java Concurrency Problems Using Contemplate's ThreadSafe

    Writing Java software that correctly and safely makes use of concurrency requires careful thought. Software that incorrectly accounts for concurrency can contain intermittent defects that elude even the most rigorous testing regimes. Static analysis tools can analyze source code or compiled bytecode to discover latent bugs hidden within code, long before it is executed.

  • Pragmatic Techniques for Maintaining a Legacy Application

    Maintaining a legacy application can make you feel like mice in a maze. In this article Ping Chen shares her experiences on how to pragmatically maintain a large legacy application. "Pragmatic” is the operative word; since a legacy application can have lots of technical debt, one has to be strategic in choosing the right battles.

  • Visualizing Java Garbage Collection

    Garbage Collection, like Backgammon takes minutes to learn and a lifetime to master. In this article Master trainer/consultant Ben Evans summarizes his recent InfoQ presentation "Visualizing Garbage Collection" where he discusses Garbage Collection from the ground up.

  • Don’t jump the SQL ship just yet

    The SQL language has been evolving steadily over the last two decades. At the same time, the verbosity caused by the JDBC API in Java client code and the lack of first class SQL support within the Java language have led to the introduction of ORMs such as Hibernate, which was later standardised into JPA and the Criteria API.If SQL and JPA are diverging, where will our data interaction patterns go?

  • Inter-thread communications in Java at the speed of light

    Developing a light-weight, lockless, inter-thread communication framework in Java without using any locks, synchronizers, semaphores, waits, notifies; and no queues, messages, events or any other concurrency specific words or tools. Just get POJOs communicating behind plain old Java interfaces.

  • Implementing High Performance Parsers in Java

    On certain occasions you will need to build your own parser, eg if there is nothing standard that fits the bill. This article walks through the steps of building a high performance parser

  • Building a RESTful Web Service with Spring Boot to Access Data in an Aerospike Cluster

    Spring Boot allows you to build Spring based applications with little effort on your part. Aerospike is a distributed and replicated in-memory database that is ACID compliant. This article will take you through creating a simple RESTful web service with Spring Boot and Aerospike.

  • Author Q&A: Java Coding Guidelines

    Most developers agree that there is a need to write secure code, but often find that the pressures of getting something shipped can constrain their ability to do so. Others may just not know where to start. InfoQ had the opportunity to speak with the authors of Java Coding Guidelines to discuss how their new book can help developers write better code.

  • Practical MQTT with Paho

    MQTT is making the Internet of Things an interoperable and flexible world where the smallest devices can talk to the largest of servers. Obtaining valuable information from anything from a single temperature sensor to an industrial machine can be handled over an MQTT-based platform. What is MQTT and where do we find the libraries to talk with it? This article presents the Eclipse Paho project.

  • Java 7 Features Which Enable Java 8

    In this article, Ben Evans explores some features in Java 7 which lay the groundwork for the new features in Java 8.

BT