Guys,

Ramesh will propose something that should clarify some of this.

Note that for "preview VDB" we will NOT have to stream over any XMI, only Indexes & XML

Barry

----- Original Message -----
From: "John Verhaeg" <jverhaeg@redhat.com>
To: "Ramesh Reddy" <rareddy@redhat.com>
Cc: "teiid-designer-dev" <teiid-designer-dev@lists.jboss.org>
Sent: Friday, March 26, 2010 3:02:39 PM GMT -06:00 US/Canada Central
Subject: Re: [teiid-designer-dev] Potential Designer Source Bindings Strategy

On Mar 26, 2010, at 2:24 PM, Ramesh Reddy wrote:

> I am calling it "Preview API" for now. Consider that if this API has
> following methods ( !!!these will not be the methods!!!) for
> illustration purpose
>
> createVDB(vdbName);
> addModel(vdbName, modelName, indexContents, sourceName/jndi)
> deleteModel(vdbName, modelName)

How would we update a model?

> Actually for your workspace, no need to do this vdb or model or all
> models in a preview query any more. When a model changes/previewed then
> you can choose to update *only* the changed models and then issue a
> query.

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.

> no to this. No really need hidden; just keep what you have now. Create
> sudo "preview" vdb on server, just update the models as you go. If not,
> keep "preview" vdb per/project to minimize size of unnecessary models in
> the Teiid.

"No" to what - the naming?  If so, yes, we'll name them.  But we'd still want the preview VDBs hidden from the user.

Thanks,

JPAV




_______________________________________________
teiid-designer-dev mailing list
teiid-designer-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/teiid-designer-dev