0 Replies Latest reply: Jun 9, 2009 9:14 AM by 807574 RSS

    Portlet accessing EJB using local interface

      Hi All,

      I have my portlets and EJB deployed on the same server.
      Currently the portlet is accessing the EJBs through the remote interface.

      I would like the portlet to access the EJBs using local interface.
      If anybody has tried this before, plz help.

      The problem is ..
      In order to invoke the EJB using local interface from a web application(portlet in this case), the web application needs to be in the same EAR as the EJB jar.

      This is not possible in a portlet deployed on the SUN portal, as the SUN portal requires the portlet to be a WAR. (It cannot be packaged in an EAR)