6

I started to work with weblogic 11g version 10.3.2.0

Does weblogic support CDI Beans ?

Thanks

skaffman
  • 398,947
  • 96
  • 818
  • 769
Chen
  • 61
  • 1
  • 2

2 Answers2

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.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Dar Whi
  • 822
  • 5
  • 14
1

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

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
Otávio Garcia
  • 1,372
  • 1
  • 15
  • 27
  • 1
    +1, but it _is_ possible to make it run in any environment. You just won't be getting all the features I guess. – Bozho Feb 10 '11 at 14:49
  • 1
    Out of the box, CDI also works in Caucho Resin. CDI itself (e.g. by using Weld) can be added to most every environment. – Arjan Tijms Feb 10 '11 at 14:52
  • @Chen Checkout the JEE 6 Tutorial from Oracle Website – Otávio Garcia Feb 17 '11 at 14:30
  • Pete Muir, lead of Weld, says that Weld (RI for JSR299) can be used in Servlet Containers and JSE also: http://in.relation.to/Bloggers/Weld110FinalAvailable. I don't know if has other implementation that supports this. – Otávio Garcia Feb 17 '11 at 16:39