2 Replies Latest reply on Jul 16, 2010 9:46 AM by christine karman

    remoting in 2.2

    christine karman Newbie
      I want to use remoting, I use Seam 2.2.0 in Jboss AS. I follow the example at
      http://docs.jboss.org/seam/2.2.0.GA/en-US/html/remoting.html#d0e22581, but I get an error in the javascript "Seam not defined". Apparently, the remote.js is not found.
      I have the lines
      <script type="text/javascript" src="seam/resource/remoting/resource/remote.js"></script>
      <script type="text/javascript" src="seam/resource/remoting/interface.js?entrepreneurExtendProfileAction"></script>
      in my xhtml source. What do I do to properly include remote.js and interface.js?

      Also, after putting the remoting jar on the classpath, the WebRemote annotation works, but the @Local annotation doesn't. Do I need an additional jar for the @Local annotation?