to start with, CDI is not compatible with portlet environment !
thanx 4 ur reply but can u plz clarify what do u mean by CDI
Seam 3 is built on top of CDI (Contexts and Dependency Injection for Java EE, it's part of Java EE 6). Because of this, if your container is not an EE 6 container, it won't work.
Portlets are another question, and it's being going around on Twitter recently about supporting Portlets in CDI, as of right now it is not required by the Spec and Weld (the Reference Implementation done by Red Hat / JBoss) does not support running in a portlet environment. OpenWebBeans, the Apache implementation, I believe does, or will in their next release. Seam3 should run just fine on OWB, but I don't think we've done an exhaustive test using OWB as of this time. You are of course more than welcome to give Seam 3 on OWB in a portlet container a try and we'll do our best to help you troubleshoot over the forums, but as of right now it's not a setup that is supported. We do welcome community feedback and patches of course ;)
Hope that helps a little :)
thanx 4 reply nd support
is java ee 6 nd epp 6 same thing