All Projects → astefanutti → further-cdi

astefanutti / further-cdi

Licence: other
🔊 Going further with CDI presentation

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to further-cdi

cdi-events-playground
Demonstrates the capabilities of Java EE CDI events
Stars: ✭ 23 (-17.86%)
Mutual labels:  javaee, cdi
Javaee7 Samples
Java EE 7 Samples
Stars: ✭ 2,470 (+8721.43%)
Mutual labels:  javaee, cdi
Metrics Cdi
CDI extension for Dropwizard Metrics
Stars: ✭ 76 (+171.43%)
Mutual labels:  dropwizard, javaee
NodeMCU-BlackBox
ESP8266 based CAN-Bus Diagnostic Tool
Stars: ✭ 28 (+0%)
Mutual labels:  cdi
keycloak-dropwizard-integration
This project shows how JBoss Keycloak and Dropwizard can be used together.
Stars: ✭ 49 (+75%)
Mutual labels:  dropwizard
microprofile1.2-samples
Eclipse MicroProfile 1.2 Samples
Stars: ✭ 22 (-21.43%)
Mutual labels:  javaee
camel-k-examples
Apache Camel K Examples
Stars: ✭ 48 (+71.43%)
Mutual labels:  camel
dropwizard-elasticsearch
A set of classes for using Elasticsearch in a Dropwizard service.
Stars: ✭ 61 (+117.86%)
Mutual labels:  dropwizard
codigo-tutoriales-blog
Código de ejemplo para el desarrollo ágil de aplicaciones con Java
Stars: ✭ 16 (-42.86%)
Mutual labels:  javaee
metrics-aspectj
AspectJ integration for Dropwizard Metrics
Stars: ✭ 78 (+178.57%)
Mutual labels:  dropwizard
EasyEE-Auto
EasyEE 自动化代码生成器。EasyEE Automated code generator.
Stars: ✭ 39 (+39.29%)
Mutual labels:  javaee
camel-cxfrs-example
Camel CXF Rest Example with JSON
Stars: ✭ 31 (+10.71%)
Mutual labels:  camel
cdi-guide-tutorials
CDI Guide And Tutorials - Many examples of how to use CDI and CDI 2.0 like Qualifiers, Interceptors, Decorators, Lazy Initialization an much more!
Stars: ✭ 29 (+3.57%)
Mutual labels:  cdi
x-ray
Statistics and analytics Java EE 6 software for blogs (tested with roller) and webapps. It is a vanilla Java EE 6 (REST/JAX-RS, CDI, EJB, JPA) app, tested on Glassfish v3.1, built with Maven 3 / hudson and developed with NetBeans 7. X-ray is the sample app of the "Real World Night Hacks" book.
Stars: ✭ 27 (-3.57%)
Mutual labels:  javaee
AwesomeMall
Java EE电商项目(使用SSM框架)
Stars: ✭ 29 (+3.57%)
Mutual labels:  javaee
geronimo-specs
Mirror of Apache Geronimo specs
Stars: ✭ 20 (-28.57%)
Mutual labels:  javaee
dropwizard-guicey-ext
Dropwizard-guicey extensions
Stars: ✭ 11 (-60.71%)
Mutual labels:  dropwizard
dropwizard-swagger
a Dropwizard bundle that serves Swagger UI static content and loads Swagger endpoints.
Stars: ✭ 176 (+528.57%)
Mutual labels:  dropwizard
EasyShiro
基于 RBAC 模型功能全面的 Shiro 安全集成&简化&扩展组件。Shiro integration & simplifies & Extension component based RBAC
Stars: ✭ 47 (+67.86%)
Mutual labels:  javaee
sbt-guardrail
Principled code generation from OpenAPI specifications
Stars: ✭ 24 (-14.29%)
Mutual labels:  dropwizard

Going Further with CDI

Travis CI build

Presentation material about advanced features and use cases of CDI, the Contexts and Dependency Injection standard for the Java platform.

About

This presentation introduces the CDI type and metadata SPI. It then focuses on the concept of portable extensions and covers the complete bean manager lifecycle, depicted in the diagram below. Lastly, it illustrates the use of these concepts through practical examples like the Camel CDI and Metrics CDI extensions.

lifecycle
Figure 1. Application initialization and shutdown lifecycle
events
Figure 2. Container lifecycle events

History

This presentation has been used as material for the following sessions:

Conference

Session

Commit [/ Branch]

Slides

Devoxx MA 2016

Going further with CDI 2.0

25bcd4d

html, pdf

JavaOne 2015

Advanced CDI in Live Coding [TUT2376]

d8ce65f

html, pdf, video

Devoxx FR 2015

Allons plus loin avec CDI 1.2 [OGT-5265]

b490b41

html, pdf

Devoxx BE 2014

Going Further with CDI 1.2 [CSX-3476]

6aa51e7

html

JavaOne 2014

Going Further with CDI 1.2 [CON5585]

6fd80dd / javaone

html

Build

Environment

  1. Install RVM:

    $ \curl -sSL https://get.rvm.io | bash -s stable --ruby
  2. Install Bundler:

    $ gem install bundler
  3. Install Graphviz and have the dot executable in the path

Instructions

  1. Initialise and check out the asciidoctor-backends and dzslides submodules:

    $ git submodule update --init
  2. Install the required gems:

    $ bundle install
  3. Generate the HTML presentation:

    $ asciidoctor -r asciidoctor-diagram -T asciidoctor-backends/slim -a data-uri -a linkcss! slides.adoc
  4. Generate the PDF presentation:

    1. Install DeckTape

    2. Export the HTML presentation:

      $ decktape dzslides slides.html slides.pdf

LiveReload

With Guard and LiveReload, you can modify the content of the presentation and have the files automatically generated and reloaded into your Web browser.

  1. Install the LiveReload plugin for your Web browser (Chrome, Firefox and Safari are supported)

  2. Launch Guard:

    $ bundle exec guard
  3. Browse to the generated file you want to refresh and activate the LiveReload plugin (don’t forget to configure the plugin to accept refreshing local files)

Docker

Alternatively to installing Ruby and Graphviz, you can use the asciidoctor/docker-asciidoctor Docker image available on Docker Hub:

  1. Run an interactive container with the documents volume bind-mounted to the working directory:

    $ docker run --rm -it -v `pwd`:/documents/ asciidoctor/docker-asciidoctor
  2. Generate the HTML presentation:

    [root@... documents]# asciidoctor -r asciidoctor-diagram -T asciidoctor-backends/slim -a data-uri -a linkcss! slides.adoc

License

The content of this project is licensed under the Creative Commons Attribution 4.0 license, and the underlying source code used for the examples is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].