0 Replies Latest reply on Sep 1, 2008 2:24 AM by mabimal

    How JSF portlet can access EJB 3.0?

      Hello all,
      I have configured EJB 3.0 and EJB 3.0 has been successfully coded. Now i need to get access EJB 3.0 from Portlet which has JSF implemention. The problem is that the JSF implemented portlet has the code in the portlet.xml file as

      <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
       <init-param>
       <name>com.sun.faces.portlet.INIT_VIEW</name>
       <value>/WEB-INF/jsp/index.jsp</value>
       </init-param>
      

      In this case the java class of the portlet will not execute so that i can call EJB. What is the solution of it, please suggest me. I can not drop JSF implementation in Portlet and i need to access EJB. How can i do it?

      In the anticipation of the solution
      Mabimal