[cdi-dev] Bootstrap API in Weld 3.0.0.Alpha8

George Gastaldi ggastald at redhat.com
Tue Apr 28 23:11:21 EDT 2015


Hi Michael,

That is correct. Weld 3 and CDI 2.0 are Java 8+, given the new proposed API changes (usage of CompletableFuture and because JDK 7 is EOL´ed). 

Java 7 apps should use CDI 1.2.

Best Regards,

George Gastaldi

----- Mensagem original -----
De: "Michael Remijan" <mjremijan at yahoo.com>
Para: "Jozef Hartinger" <jharting at redhat.com>, "Antonio Goncalves" <antonio.goncalves at gmail.com>
Cc: "Weld" <weld-dev at lists.jboss.org>, "cdi-dev" <cdi-dev at lists.jboss.org>
Enviadas: Terça-feira, 28 de abril de 2015 22:24:47
Assunto: Re: [cdi-dev] Bootstrap API in Weld 3.0.0.Alpha8

Hi cdi-dev, 

I'm developing an SE application using Weld and I just pulled in the 3.0.0.Alpha8 version. I immediately ran into an Unsupported major.minor version 52.0 error. Is Weld 3 going to be only Java 8? Java 7 apps won't be able to use it? 

Thanks! 





On Tuesday, April 28, 2015 12:59 AM, Jozef Hartinger <jharting at redhat.com> wrote: 


Hi Antonio, 

the artifact you mentioned is correct. The CDI API 1.2, which is transitively resolved, is correct also. The builder API is present in the Weld-specific 
org.jboss.weld.environment.se package. 

HTH, 

Jozef 

On 04/27/2015 11:36 PM, Antonio Goncalves wrote: 



Hi Josef, 

Which Maven artifact is needed to start playing with it ? When I use this one below, I miss all the CDI APIs (javax.inject.*, javax.enterprise.inject.*, etc.) : 

<dependency> 
<groupId> org.jboss.weld.se </groupId> 
<artifactId>weld-se-core</artifactId> 
<version>3.0.0.Alpha8</version> 
</dependency> 

Is there an artifact that also depends on the new version of the API ? Or we just use the "old" CDI 1.2 APIs ? 

Thanks 
Antonio 


On Mon, Apr 27, 2015 at 4:57 PM, Jozef Hartinger < jharting at redhat.com > wrote: 


We extended Weld's API for Java SE in the recent 3.0.0.Alpha8 release. 
The main feature is a new builder for programmatic configuration of 
managed classes, packages, enabled interceptors and others. This could 
serve as a draft for the bootstrap API to be added to CDI. 

See the release blog post for more details: 
http://weld.cdi-spec.org/news/2015/04/21/weld-300Alpha8/ 

Jozef 
_______________________________________________ 
cdi-dev mailing list 
cdi-dev at lists.jboss.org 
https://lists.jboss.org/mailman/listinfo/cdi-dev 

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 ( http://www.apache.org/licenses/LICENSE-2.0.html ). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information. 



-- 
Antonio Goncalves 
Software architect, Java Champion and Pluralsight author 

Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx France 


_______________________________________________ 
cdi-dev mailing list 
cdi-dev at lists.jboss.org 
https://lists.jboss.org/mailman/listinfo/cdi-dev 

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 ( http://www.apache.org/licenses/LICENSE-2.0.html ). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information. 



_______________________________________________
cdi-dev mailing list
cdi-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.



More information about the cdi-dev mailing list