Automating Java Design Patterns with Xtend

Status:
Accepted

Patterns have a long tradition in Java-land. Being it the infamous ProxyAdapterFactoryBuilder or just a simple Singleton.getInstance, the Gang-of-Four patterns have proven to provide a solid means to communicate the intent of a class hierarchy and a recipe to solve common problems. Unfortunately Java doesn't allow you to put these recipes into code for multiple reuse, but forces you to copy & paste these patterns from books and other resources. If you want to clean up your Java projects and significantly improve its maintainability, this tutorial is for you.

Xtend is a programming language which lives in Java projects and is designed to help with the rougher edges in day-to-day Java development. The powerful concepts of the Xtend programming language allow to implement Java patterns generically simply by annotating the source code with an active annotation. Active annotations are a unique concept of Xtend and pave the way to reusable structures and idioms. They are a lightweight technology that integrates seamlessly into your Java project and existing toolchain.

In this session you will learn how to use Xtend to incorporate common Java patterns into Java applications. You will implement your own Xtend active annotations and learn how design patterns can become even more expressive.

Session details
Speaker(s): Session Type: Experience level:
Intermediate
Track: Tags:
Schedule info
Session Time Slot(s):
Grand Peninsula E - Monday, March 17, 2014 - 13:00 to 16:00