External Examples and Templates

A number of DeltaSpike examples and templates have been developed external to the DeltaSpike project. These extend the DeltaSpike resources from which you can see DeltaSpike in action. Brief information is given here about the examples and templates, with details of where they can be obtained from.

Books (free/online)

CDI@Work (chapter about DeltaSpike): http://cdiatwork.irian.at/

CDI@Work is a free online book about CDI as well as Apache DeltaSpike. It covers basic information about CDI and DeltaSpike up to more advanced use-cases. An example for the latter is a type-safe configuration (interface-only) which allows you to resolve the configured values even from dynamic config-sources like a database and store them in a custom Config-Scoped cache which can be refreshed via CDI-events or a CRON based task or manually via JMX.

The GitHub account contains repositories e.g. for the sample application called IdeaFork. The commit-history follows the steps in the book. In most cases every commit translates to one step in the book. (Chapters are released once they are ready.)


Apache DeltaSpike: The CDI toolbox

CDI portable extensions are one of greatest features of Java EE allowing the platform to be extended in a clean and portable way. But allowing extension is just part of the story. CDI opens the door to a whole new eco-system for Java EE, but it’s not the role of the specification to create these extensions. Apache DeltaSpike is the project that leads this brand new eco-system by providing useful extension modules for CDI applications as well as tools to ease the creation of new ones. In this session, we’ll start by presenting the DeltaSpike toolbox and show how it helps you to develop for CDI. Then we’ll describe the major extensions included in Deltaspike, including 'configuration', 'scheduling' and 'data'.

DeltaSpike: CDI extensions of the world, unite!

Several popular CDI extension frameworks like Seam 3 and MyFaces CODI have faded out over the years. But not to worry - their functionality is taken over by projects like Picketlink, Agorava, and mainly DeltaSpike, a new Apache project that wants CDI extension authors to unite in an effort to make the life of web application developers easier. Even without a five year plan!

Apache DeltaSpike

Presentation about Apache DeltaSpike

MyFaces CODI and JBoss Seam3 become Apache DeltaSpike

These slides show how to use type-safe mechanisms provided by MyFaces CODI for developing JSF applications which are more type-safe and easier to maintain as well as common pitfalls. Beyond that there is an basic overview of Apache DeltaSpike.

Migrating a JSF-Based Web Application from Spring 3 to Java EE 7 and CDI

This talk is a detailed case study about the migration of a JSF-based web application from Spring 3 to Java EE 7 and CDI. It is presented at the JavaOne 2014 conference.

[de] Flexibilitaet mit CDI und Apache DeltaSpike

Presentation about DeltaSpike

[pt-BR] Deixando de refazer a roda com Apache DeltaSpike

CDI e DeltaSpike presentation in TDC - The Developers Conference 2015

Apache Deltaspike the CDI Toolbox (Java One 2015)

JavaOne 2015 - Rafael Benevides - Apache DeltaSpike, the CDI Toolbox


IdeaFork (full)

This example is a Java EE6 application which illustrates several features of CDI and DeltaSpike. It covers features of all modules provided by DeltaSpike. There are profiles to create web-archives for Apache TomEE, JBoss AS7 (and WildFly) and Oracle GlassFish3. The complexity is mixed. There are some simple examples as well as some more advanced cases. The repository contains every step (one commit is one step) described in the online-book.

IdeaFork (lite)

This example is based on IdeaFork (full), but without some indirections which were needed to demonstrate different features of CDI and DeltaSpike (in a simple Application).

Source code (beta - work in progress): https://github.com/CDIatWork/IdeaForkLite_Beta

Confess 2012 Workshop Demo

This example was prepared for the Confess workshop and demonstrates how to use DeltaSpike instead of and side-by-side with MyFaces CODI. The secured web application demonstrates presenting users with differentiating content based on their account status.

Fullstack EE6+ with DeltaSpike

Simple example based on Java EE6+ and DeltaSpike (tested with EE6 and EE7).

Fullstack CODI to DeltaSpike

This pair of examples show how to achieve the most important MyFaces CODI features with DeltaSpike and also how to migrate a CODI project to DeltaSpike. The examples are basic, compacting core CODI features into just a few JSF pages, and are intended for deployment with TomEE.

  • CODI version in master branch

  • Migrated DeltaSpike version in codi2ds branch

JBoss Quickstarts

The JBoss quickstarts are small working examples that demonstrate recommended practices for specific Java EE technology use cases. A subset of these quickstarts are dedicated to demonstrating DeltaSpike, including custom authorization restrictions using annotations, constructing and modifying beans, extending the influence of CDI using BeanManager, and deactivating DeltaSpike features.

DeltaSpike Examples

A collection of example applications demonstrating the features of the DeltaSpike project.

[pt-BR] DeltaSpike microblog example

Application that shows a microblog using DeltaSpike

Why you should consider using Apache DeltaSpike

Blog post demonstrating 5 features of Apache DeltaSpike

[pt-BR] Rest Application with DeltaSpike Data

Simple example based on MicroProfile(OpenApi,Payara-Micro) and DeltaSpike-data

[pt-BR] CRUD-Deltaspike-CDI-Angular

Simple CRUD example based on SparkJava and DeltaSpike-data

[pt-BR] CRUD-Deltaspike-CDI-Angular

Simple CRUD example based on JavaLin and DeltaSpike-data

[pt-BR] jax-rs-sample-cdi-deltaspike-data

Simple CRUD example based on jax-rs(resteasy) and DeltaSpike-data for Tomcat

[spanish] Oracle Helidon with DeltaSpike-Data

Simple CRUD example based on Helidon and DeltaSpike-data

[pt-BR] Eclipse vertx with DeltaSpike-Data

Simple example based on vertx and DeltaSpike-data

[pt-BR] Eclipse vertx with DeltaSpike-Data

Simple example based on vertx and DeltaSpike-data

[pt-BR] Javalin with DeltaSpike-Data

Simple example based on Javalin and DeltaSpike-data


[pt-BR] Brazilian Java Magazine

Apache DeltaSpike: CDI Programável


[pt-BR] InfoQ Brazil

Apache DeltaSpike, a API de extensions do CDI

[pt-BR] InfoQ Brazil

O que é DeltaSpike?


JSF + CDI + DS (Servlet-Container)

JSF + EJB + CDI + DS (EE-Server)

JSF + JPA + CDI + DS-Data (diff. EE-Server-Profiles)

JSF + JPA + CDI + DS-Data (Apache TomEE)

JSF + CDI + DS (Apache TomEE)



This GitHub account contains e.g. a DBUnit Add-on for the Test-Control-Module of DeltaSpike.


This GitHub account contains several DeltaSpike Add-ons e.g. to integrate CDI with other frameworks.


This GitHub account contains several DeltaSpike Add-ons e.g. an integration with the TomEE PasswordCipher API.