blob: 150bae0cb47f2c421f1d6317eeff4fb6efe080d7 [file] [log] [blame]
= External Examples and Templates
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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):**
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.)
== Presentations
=== 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 its 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, well start by presenting the DeltaSpike toolbox and show how it helps you to develop for CDI. Then well 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
**Video and Slides:**
=== Apache Deltaspike the CDI Toolbox (Java One 2015)
=== JavaOne 2015 - Rafael Benevides - Apache DeltaSpike, the CDI Toolbox
== Examples
=== 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.
**Source code:**
=== 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):**
=== 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.
**Source code:**
=== Fullstack EE6+ with DeltaSpike
Simple example based on Java EE6+ and DeltaSpike (tested with EE6 and EE7).
**Source code:**
=== 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.
**Source code:**
* 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.
**Source code:**
=== DeltaSpike Examples
A collection of example applications demonstrating the features of the DeltaSpike project.
**Source code:**
=== [pt-BR] DeltaSpike microblog example
Application that shows a microblog using DeltaSpike
**Source code:**
=== Why you should consider using Apache DeltaSpike
Blog post demonstrating 5 features of Apache DeltaSpike
**Blog post:**
=== [pt-BR] Rest Application with DeltaSpike Data
Simple example based on MicroProfile(OpenApi,Payara-Micro) and DeltaSpike-data
**Source code:**
=== [pt-BR] CRUD-Deltaspike-CDI-Angular
Simple CRUD example based on SparkJava and DeltaSpike-data
**Source code:**
=== [pt-BR] CRUD-Deltaspike-CDI-Angular
Simple CRUD example based on JavaLin and DeltaSpike-data
**Source code:**
=== [pt-BR] jax-rs-sample-cdi-deltaspike-data
Simple CRUD example based on jax-rs(resteasy) and DeltaSpike-data for Tomcat
**Source code:**
== Magazines
=== [pt-BR] Brazilian Java Magazine
Apache DeltaSpike: CDI Programável
**Online article:**
== Interviews
=== [pt-BR] InfoQ Brazil
Apache DeltaSpike, a API de extensions do CDI
**Online interview:**
=== [pt-BR] InfoQ Brazil
O que é DeltaSpike?
**Online interview:**
== Templates
=== Java SE + CDI + DS
**Source code:**
=== JSF + CDI + DS (Servlet-Container)
**Source code:**
=== EJB + CDI + DS (Module)
**Source code:**
=== JSF + EJB + CDI + DS (EE-Server)
**Source code:**
=== JSF + JPA + CDI + DS-Data (diff. EE-Server-Profiles)
**Source code:**
=== JSF + JPA + CDI + DS-Data (Apache TomEE)
**Source code:**
=== JSF + CDI + DS (Apache TomEE)
**Source code:**
== Add-ons
=== lbitonti@github
This GitHub account contains e.g. a DBUnit Add-on for the Test-Control-Module of DeltaSpike.
**Source code:**
=== os890@github
This GitHub account contains several DeltaSpike Add-ons e.g. to integrate CDI with other frameworks.
**Source code:**
=== rmannibucau@github
This GitHub account contains several DeltaSpike Add-ons e.g. an integration with the TomEE PasswordCipher API.
**Source code:**