BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Annotations Content on InfoQ

  • Jakarta EE 11 Delivers One New Specification, 16 Updated Specifications and Modernized TCK

    Although a full GA release of Jakarta EE 11 was originally planned for July 2024, only the Core Profile and the Web Profile were delivered in December 2024 and April 2025, respectively. And now, the Jakarta EE 11 Platform has been delivered featuring one new specification and a new TCK. Ed Burns, release coordinator for Jakarta EE 11, spoke to InfoQ about the release of Jakarta EE 11.

  • Spring Framework 4.1 Release Supports JCache (JSR-107) Annotations

    Spring Framework 4.1 provides comprehensive support for JCache (JSR-107) annotations using Spring's existing cache configuration and infrastructure abstraction. The new release also supports JMS and performance enhancements and WebSocket refinements.

  • Xtend 2.4.3 Extends Active Annotations to the File System

    After active annotations were introduced in Xtend 2.4, they received an API for accessing the file system with version 2.4.3. Active annotations let developers influence the way, Xtend source code is translated to Java source code. With the help of the new file system API, further artifacts like property files or fingerprints and digests can be derived from Xtend sources.

  • Roundup of String to Java Object Conversion Libraries

    Stephen Colebourne, of Joda Time fame, ignited a small debate when he released Joda Convert: a Java library to convert basic Objects to and from Strings using annotations. InfoQ surveys the options when transforming from one format to another.

  • Aspects: An Easy Tool for Annotation Handling?

    While many think of Aspects for cross-cutting concerns such as transaction management, persistence and role based security, another key value for them has been as an enabler for Annotations for ordinary projects. Using Aspects as a way to implement annotation handlers is a different way to think of them than as the traditional architect's "cross cutting concerns" view.

  • Article: Spring 2.5: New Features in Spring MVC

    Rossen Stoyanchev of SpringSource wrote an article for InfoQ about the new features in Spring MVC that are part of Spring 2.5, notably the annotation-based approaches that are informally known as @MVC. These allow Spring MVC applications to be written with simpler annotated POJOs rather than xml-wired implementations of strict interfaces.

  • John Heintz on Adding Behavior to Java Annotations

    Custom annotations are a great way to add common reusable behavior to Java applications. John Heintz from New Aspects discussed at the recent No Fluff Just Stuff (NFJS) Java Symposium, the design techniques for adding behavior to Java Annotations.

  • JSR-305: Annotations for Software Defect Detection

    Bill Pugh, the creator of FindBugs, is leading the work on JSR-305 which aims to introduce a set of standard annotations for software defect detection.

  • Presentation: Configuring the Spring Container

    In this presentation from QCon San Francisco 2007, SpringSource CEO Rod Johnson discusses the Spring Framework. Topics covered include the philosophy behind Spring, configuring the Spring container, XML configuration, new XML configuration namespaces, Annotation-based configuration, automatic component annotation scanning, Spring JavaConfig, mixing configuration types, and Spring 2.5 new features.

  • Can DDD be Adequately Implemented Without DI and AOP?

    A recent thread on Domain Driven Design (DDD) user group discussed the role of Dependency Injection (DI) and Aspect Oriented Programming (AOP) in DDD implementation. InfoQ spoke with Eric Evans and Ramnivas Laddad about these design concepts and the role of Annotations and orchestrated business services in DDD.

  • Configuring Hibernate with Annotations

    A new article on OnJava.com takes a look at configuring Hibernate via annotations. Traditionally developers have either configured Hibernate with XML files separate from Java classes or with XDoclet comments in the Java code with in turn generate XML.

  • Annotation Transformers in TestNG: The Sweet Spot for Annotations?

    In the ongoing search to find the balance between XML and annotations, TestNG has introduced the concept of annotation transformers. An annotation transformer is code that will override the behavior of existing annotations. This allows you to modify your annotation without using XML and without recompiling your source. You will have to recompile your annotation transformers if you change them.

  • FindBugs Creator Proposes JSR-305 Annotations for Software Defect Detection

    Bill Pugh, the creator of FindBugs, has submitted JSR-305 Annotations for Software Defect Detection to the Java Community Process. The JSR would attempt to develop a standard set of annotations that could assist defect detection tools. It is supported by parties such as Google, JetBrains, and Doug Lea.

  • InfoQ Article: The Annotation Hammer

    Venkat Subramanium takes a look at Java SE 5 Annotations. What they are, how to create them, and more importantly, how to use and not misuse them. "The right use of annotations" is a design concern that deserves due consideration in application development.

  • Resource Injection in the Java EE platform Overview

    One of the simplification features of Java EE 5 is the implementation of basic dependency injection to simplify web and EJB components. Annotations are used for injecting resources, services, and life-cycle notifications. A new tutorial on java.sun.com shows how to use annotations to do resource injection and we've summarized what can be injected and where.

BT