DeltaSpike、Weld与CDI

CDI      http://www.cdi-spec.org/

Weld    http://weld.cdi-spec.org/

DeltaSpike   http://deltaspike.apache.org/

 

    CDI (Contexts and Dependency Injection)是Java EE 的JCP规范(CDI 1.0 : JSR-299 , CDI 1.1,  CDI 1.2: JSR-346)。灵感来源于JBoss Seam和Google guice,也从一些框架,如Spring,借鉴学习了一些经验。

 

    Weld是CDI的参考实现。

 

DeltaSpike consist of a number of portable CDI extensions that provide useful features for Java application developers. DeltaSpike is currently tested on different CDI implementations like Apache OpenWebBeans and JBoss Weld, and also on different Java EE servers like Apache Tomcat and TomEE, JBoss-AS7, JBoss WildFly8, Oracle GlassFish 3.1+ and 4.x+, IBM Websphere 8.x, Oracle Weblogic Server 12c, Jetty, and others.

 

The core features of DeltaSpike project are packaged under the following different modules. Some of them are mandatory while others are optional

 

Core (required)

Contain the API and util classes of DeltaSpike project

Security (optional)

Intercept and check security

JPA (optional)

JSF (optional)  

Container Control (optional)

Bean Validation (optional)

A module for adding CDI support in Bean Validation.

Servlet (optional)

The DeltaSpike Servlet module provides integration with the Java Servlet API.

Data (optional)

The DeltaSpike Data module provides enhanced JPA experience with declarative queries, reducing boilerplate to a minimum. 

Test-Control (optional)

This module allows to write CDI based tests easily.

Scheduler (optional)

This module provides a simple integration with Quartz v2 (per default) or any other scheduler which supports cron-expressions for job-classes.

DeltaSpike SPI

DeltaSpike Service Provider Interface (SPI).

你可能感兴趣的:(CDI,weld,DeltaSpike)