Does weblogic support CDI Beans?
Asked Answered
F

2

6

I started to work with weblogic 11g version 10.3.2.0

Does weblogic support CDI Beans ?

Thanks

Fixate answered 9/2, 2011 at 15:6 Comment(0)
B
4

It doesn't work out of the box, but with Apache OpenWebBeans (the CDI implementation of Apache) you can get WebLogic there. Their JIRA shows that they worked on it and fixed it. If there's a problem, I would ask them directly. The documentation isn't very detailed, but as I see they respond quickly to questions. And MyFaces CODI also lists WebLogic as a compatible server if you are using OpenWebBeans, so I think they tested it carefully.

Brittneybrittni answered 25/8, 2011 at 16:30 Comment(0)
S
1

At this time, only JBoss AS 6 and Glassfish 3 support CDI Beans. CDI only works in Java EE 6 appservers.

Secrest answered 10/2, 2011 at 14:43 Comment(4)
+1, but it is possible to make it run in any environment. You just won't be getting all the features I guess.Glauconite
Out of the box, CDI also works in Caucho Resin. CDI itself (e.g. by using Weld) can be added to most every environment.Eft
@Fixate Checkout the JEE 6 Tutorial from Oracle WebsiteMyrticemyrtie
Pete Muir, lead of Weld, says that Weld (RI for JSR299) can be used in Servlet Containers and JSE also: in.relation.to/Bloggers/Weld110FinalAvailable. I don't know if has other implementation that supports this.Myrticemyrtie

© 2022 - 2024 — McMap. All rights reserved.