<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 12pt; color: #000000'>Guys,<br><br>Ramesh will propose something that should clarify some of this.<br><br>Note that for "preview VDB" we will NOT have to stream over any XMI, only Indexes &amp; XML<br><br>Barry<br><br>----- Original Message -----<br>From: "John Verhaeg" &lt;jverhaeg@redhat.com&gt;<br>To: "Ramesh Reddy" &lt;rareddy@redhat.com&gt;<br>Cc: "teiid-designer-dev" &lt;teiid-designer-dev@lists.jboss.org&gt;<br>Sent: Friday, March 26, 2010 3:02:39 PM GMT -06:00 US/Canada Central<br>Subject: Re: [teiid-designer-dev] Potential Designer Source Bindings Strategy<br><br>On Mar 26, 2010, at 2:24 PM, Ramesh Reddy wrote:<br><br>&gt; I am calling it "Preview API" for now. Consider that if this API has<br>&gt; following methods ( !!!these will not be the methods!!!) for<br>&gt; illustration purpose<br>&gt; <br>&gt; createVDB(vdbName);<br>&gt; addModel(vdbName, modelName, indexContents, sourceName/jndi)<br>&gt; deleteModel(vdbName, modelName)<br><br>How would we update a model?<br><br>&gt; Actually for your workspace, no need to do this vdb or model or all<br>&gt; models in a preview query any more. When a model changes/previewed then<br>&gt; you can choose to update *only* the changed models and then issue a<br>&gt; query. <br><br>I was trying to reduce the number of models we sent over the wire, assuming several in the workspace would never be previewed during a session, but maybe your approach, or perhaps a per-project approach, is better just to reduce the number of communications required.<br><br>&gt; no to this. No really need hidden; just keep what you have now. Create<br>&gt; sudo "preview" vdb on server, just update the models as you go. If not,<br>&gt; keep "preview" vdb per/project to minimize size of unnecessary models in<br>&gt; the Teiid. <br><br>"No" to what - the naming? &nbsp;If so, yes, we'll name them. &nbsp;But we'd still want the preview VDBs hidden from the user.<br><br>Thanks,<br><br>JPAV<br><br><br><br><br>_______________________________________________<br>teiid-designer-dev mailing list<br>teiid-designer-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/teiid-designer-dev<br></div></body></html>