<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 & XML<br><br>Barry<br><br>----- Original Message -----<br>From: "John Verhaeg" <jverhaeg@redhat.com><br>To: "Ramesh Reddy" <rareddy@redhat.com><br>Cc: "teiid-designer-dev" <teiid-designer-dev@lists.jboss.org><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>> I am calling it "Preview API" for now. Consider that if this API has<br>> following methods ( !!!these will not be the methods!!!) for<br>> illustration purpose<br>> <br>> createVDB(vdbName);<br>> addModel(vdbName, modelName, indexContents, sourceName/jndi)<br>> deleteModel(vdbName, modelName)<br><br>How would we update a model?<br><br>> Actually for your workspace, no need to do this vdb or model or all<br>> models in a preview query any more. When a model changes/previewed then<br>> you can choose to update *only* the changed models and then issue a<br>> 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>> no to this. No really need hidden; just keep what you have now. Create<br>> sudo "preview" vdb on server, just update the models as you go. If not,<br>> keep "preview" vdb per/project to minimize size of unnecessary models in<br>> the Teiid. <br><br>"No" to what - the naming? If so, yes, we'll name them. 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>