1 Reply Latest reply on May 9, 2008 8:48 PM by Guillaume Jeudy

    Get a Component in a bussiness module from a war modules

    Sergio R Pantano Newbie

      Hi,


      I'm trying to develop 2 Web-Apps, in the same EAR. Each should access the same component.


      So, I want to know whether it is possible that this component is available for the 2 Web-Apps. And stateful between them?


      Thanks a lot,


      Sergio.

        • 1. Re: Get a Component in a bussiness module from a war modules
          Guillaume Jeudy Master

          I'm not aware of such a thing possible. Why do you need this architecture ?


          If you need to share state between 2 web apps why not store it in the database ?


          As far as I know EJB stateful beans would be a candidate to your problem but the EJB stateful bean is bound to your web session (thanks to Seam). I dont think you can share a web session between different web apps, unless it is the same webapp deployed in a cluster configuration.


          -Guillaume