COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: shra_k on 17 Jan 2010 11:29:36 PM

Title: can we have Java ( POJO ) as data source?
Post by: shra_k on 17 Jan 2010 11:29:36 PM
Am new to Cognos and am evaluating to use Cognos 8.4 replacing JReport engine. In JReport we have User Defined Source concept where POJO can be used as data source for the report generation.

I had a quick look at the large Cognos documentation and couldn't find anything similar. I saw webservices can be used as data source so I feel there should be a way for user defined data sources too. Am not sure whether I have to use Virtual View Manager or something else in cognos to achieve this.

Can anybody tell me if there is a way to use java as a user defined data source ( which would comply to Cognos standards to send and receive objects/data other than XML ). If yes, can you please point me to the documentation where I could get more details.

Thanks in advance.
Title: Re: can we have Java ( POJO ) as data source?
Post by: shra_k on 18 Jan 2010 01:05:19 AM
Let me try to be more clear on my query :-

Am looking for an interface from Cognos which a user can extend to define DATA SOURCE and the user defined data source can be used by query or report studio to generate the reports. Is there such a java interface which I can use.

If this is not possible, is there an alternate way of using Virtual View Manager or Data Manager to achieve the same ?
Title: Re: can we have Java ( POJO ) as data source? ( answered )
Post by: shra_k on 19 Jan 2010 10:47:18 AM
I got an answer on IBM forum to use VVM or convert the POJO to XML Data Set.
I chose to go with VVM due to large flexibility and benefits I get over XML Data Set conversion.