-
1. Re: Is CDI specification and implementations are matured enough to use in production?
tremes Feb 16, 2015 5:02 AM (in response to dinoop.p1)1 of 1 people found this helpfulHi Dinoop
Why are you doubtful? I haven't watched the video yet, but maybe it's also covering upcoming CDI 2.0, which is still going on (targeting Java EE8). There are also versions CDI 1.0, CDI 1.1 and CDI 1.2. I would say that from 1.1 it is really matured. Note that Weld 1.1.x ( the reference implementation) has been present in EAP since version 6.0.0 and it is part of EE6. You can also try WildFly 8.2.0 with its latest Weld 2.2.x release which refers to CDI 1.2 version. Please let's discuss on Weld. Thank's
-
2. Re: Is CDI specification and implementations are matured enough to use in production?
dinoop.p1 Feb 16, 2015 6:35 AM (in response to tremes)Hi Tomas Remes,
I become doubtful because, there are difference between the CDI implementation in JBOSS 7 to 8. New CDI implementation does not requires beans.xml in WEB-INF. So if I use the CDI in production, it will be difficult to migrate to the servers of new version.
-
3. Re: Is CDI specification and implementations are matured enough to use in production?
ctomc Feb 16, 2015 8:50 AM (in response to dinoop.p1)Dinoop P wrote:
Hi Tomas Remes,
I become doubtful because, there are difference between the CDI implementation in JBOSS 7 to 8. New CDI implementation does not requires beans.xml in WEB-INF. So if I use the CDI in production, it will be difficult to migrate to the servers of new version.
That is not a big problem at all, if it does give you problems there is simple way to disable new way of discovery, see FAQ: http://weld.cdi-spec.org/documentation/#4
-
4. Re: Is CDI specification and implementations are matured enough to use in production?
dinoop.p1 Feb 16, 2015 8:55 AM (in response to ctomc)Thanks Tomaz Cerar,
Actually the beans.xml case was just for an example. Is the CDI specifications and implementations are having backward compatibility?
-
5. Re: Is CDI specification and implementations are matured enough to use in production?
tremes Feb 17, 2015 2:26 AM (in response to dinoop.p1)1 of 1 people found this helpfulYes backward compatibility is one of the requirements. Some basic info could be hopefully found at Weld - CDI Reference Implementation