Anjana, Can we make all these data sources (RDBMS/Excelt/GDocs) part of the data sources component?
Essentially, anyone else who wants to access these will be copying the same code without re-using. On Wed, Jun 29, 2011 at 4:04 PM, Anjana Fernando <[email protected]> wrote: > Hi, > > No, you can't use the data source component to access those. Either you've > to use data services or use Apache POI (or Google Spreadhsheet API, if > you're talking about those) to access those. DSS just have our own data > service config implementation to support it as a data source for a data > service. You can check the Excel/GSpreadQuery|Config classes in data > services core component. Those are thin wrappers on top of their respective > external APIs. Using DSS specific classes will make DSS components a direct > dependency, so you may want to do your own implementation based on that > code, and even make it a generic component, so others may also use it and we > can also migrate to that code later. > > Cheers, > Anjana. > > > On Wed, Jun 29, 2011 at 3:35 PM, Manu Perera <[email protected]> wrote: > >> it is required to read data (and schema) from spreadsheets for BAM's >> new visualization tool. >> I am currently using "Data Sources" component to access RDBMS, is it >> possible to use same API's to access spreadsheets ? >> if not what is the best way to reuse the Data Services' Implantation >> of spreadsheet based data sources. >> > > > > -- > *Anjana Fernando* > Senior Software Engineer > WSO2 Inc. | http://wso2.com > lean . enterprise . middleware > -- Regards, Tharindu
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
