2 Replies Latest reply on Apr 14, 2014 2:11 PM by rareddy

    load my custom teiid translator

    ravikatkar

      I want to load my teiid translator after the jboss is up, I believe we can do it in two ways ,

      1. a) Using Jboss CLI
      2. b) Using Teiid admin api

      What is the difference between two approaches ? which is the preferred way.

       

      Thanks,

      Ravi katkar

        • 1. Re: load my custom teiid translator
          ctomc

          Moved to Teiid forum.

          • 2. Re: load my custom teiid translator
            rareddy

            Ravi,

             

            To load translator, first you care your JAR file for the translator, then you can do one of these

             

            1) Create "module" for it in the "modules" directory and then edit the standalone-teid.xml file and add the "translator" definition to it and restart.

            2) Use CLI/web-console/admin-api to deploy the JAR file into JBoss AS.

             

            (1) is recommended, but you can also use (2) if you are making it programmatically available.

             

            Ramesh..