-
1. Re: Seam and CDI together Not Supported In GateIn Portal with switchyard
mageshbk Jun 12, 2013 1:31 AM (in response to sheriman)Hi,
The best approach is to convert all Seam beans to CDI bean. In order for SwitchYard to support Seam, you will have to create a custom component, which would be heavy work and outdated as well. I guess, converting Seam bean to CDI is as simple as changing the import packages. As Portlet supports CDI this is the correct way to go.
-
2. Re: Seam and CDI together Not Supported In GateIn Portal with switchyard
sheriman Jun 12, 2013 2:51 AM (in response to mageshbk)Hi Magesh,
In order to convert seam bean to CDI do i need to remove seam dependency ?
and also remove related seam in web.xml?
<servlet>
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>
<servlet>
<servlet-name>Content Servlet</servlet-name>
<servlet-class>org.jboss.seam.example.seamspace.ContentServlet</servlet-class>
</servlet>
Thanks in advance.
-
4. Re: Seam and CDI together Not Supported In GateIn Portal with switchyard
sheriman Jun 12, 2013 4:05 AM (in response to mageshbk)Thanks a lot Magesh