1 Reply Latest reply on Jul 20, 2008 11:10 AM by pmuir

    Retrieving Seam components through CLI

    trouby

      Hey,


      I have to build CLI console that should invoke operations over seam components,



      Is it possible to retrieve seam components through CLI?
      (like using the InitialContext to retrieve EJBs?)



      I don't mind if the solution is done remotely or invoking the methods through an appclient container,




      Thanks,



      Asaf.

        • 1. Re: Retrieving Seam components through CLI
          pmuir

          If you are doing it remotely, you could expose the methods on remote EJBs, Seam will apply interceptors - of course you have no support for PAGE, CONVERSATION or SESISON contexts as these are Servlet/JSF specific constructs. Alternatively you could look at exposing WS endpoints, or REST through the RESTeasy integration in trunk.