<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/Translator+Development">Translator Development</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://docs.jboss.org/author/display/~van.halbert">Van Halbert</a>
    </h4>
        <br/>
                         <h4>Changes (4)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-unchanged" >h5. Translator (Custom) Development <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" ># Create a new or reuse an existing Resource Adapter for the EIS system, to be used with this Translator. <br>Refer to [Custom Resource Adapters|#Custom Resource Adapters]. <br></td></tr>
            <tr><td class="diff-changed-lines" ># <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Use</span> <span class="diff-added-words"style="background-color: #dfd;">Decide whether to use</span> the Teiid archetype template to create your initial custom translator project and classes <span class="diff-added-words"style="background-color: #dfd;">or manually create your environment.</span> <br></td></tr>
            <tr><td class="diff-unchanged" ># Implement the required classes defined by the Translator API. <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">#</span> <span class="diff-added-words"style="background-color: #dfd;">.</span> Create an ExecutionFactory – Extend the {{org.teiid.translator.ExecutionFactory}} class <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">#</span> <span class="diff-added-words"style="background-color: #dfd;">.</span> Create relevant Executions \(and sub\-interfaces) – specifies how to execute each type of command <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">Refer to. <br></td></tr>
            <tr><td class="diff-unchanged" ># Define the template for exposing configuration properties. Refer to [Packaging]. <br># Deploy your Translator. Refer to [Deployment]. <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        
<h5><a name="TranslatorDevelopment-Translator%28Custom%29Development"></a>Translator (Custom) Development</h5>

<p>Below are the high&#45;level steps for creating custom Translators, which is described in this section.  This section will cover how to do each of the following steps in detail. It also provides additional information for advanced topics, such as streaming large objects. </p>

<p>For sample Translator code, refer to the Teiid source code at <a href="https://github.com/teiid/teiid/tree/master/connectors/" class="external-link" rel="nofollow">https://github.com/teiid/teiid/tree/master/connectors/</a>.</p>

<ol>
        <li>Create a new or reuse an existing Resource Adapter for the EIS system, to be used with this Translator.<br/>
Refer to <a href="#TranslatorDevelopment-CustomResourceAdapters">Custom Resource Adapters</a>.</li>
        <li>Decide whether to use the Teiid archetype template to create your initial custom translator project and classes or manually create your environment.</li>
        <li>Implement the required classes defined by the Translator API.<br/>
. Create an ExecutionFactory – Extend the <tt>org.teiid.translator.ExecutionFactory</tt> class<br/>
. Create relevant Executions &#40;and sub&#45;interfaces) – specifies how to execute each type of command</li>
        <li>Define the template for exposing configuration properties. Refer to <a href="/author/display/TEIID/Packaging" title="Packaging">Packaging</a>.</li>
        <li>Deploy your Translator. Refer to <a href="/author/display/TEIID/Deployment" title="Deployment">Deployment</a>.</li>
        <li>Deploy a Virtual Database &#40;VDB) that uses your Translator.</li>
        <li>Execute queries via Teiid.</li>
</ol>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
        <a href="https://docs.jboss.org/author/display/TEIID/Translator+Development">View Online</a>
        |
        <a href="https://docs.jboss.org/author/pages/diffpagesbyversion.action?pageId=18646164&revisedVersion=3&originalVersion=2">View Changes</a>
                |
        <a href="https://docs.jboss.org/author/display/TEIID/Translator+Development?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>