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

    Retrieving Seam components through CLI

    asaf sh Expert


      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,



        • 1. Re: Retrieving Seam components through CLI
          Pete Muir Master

          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.