Home » Archived » BIRT » "Newbie" Help -- Development with Milestones / Custom Data Sources
"Newbie" Help -- Development with Milestones / Custom Data Sources [message #32445] |
Mon, 02 May 2005 11:50  |
Eclipse User |
|
|
|
Originally posted by: raetta.towers.embeddedplus.com
Hi all,
First of all, thanks to all the developers making this project work. I am
new to both developing on the Eclipse platform and the open source community
and am very impressed with the project overall.
I have a few basic conceptual issues regarding development of a custom ODA
data source... If I have done everything correctly, is it true that I should
be able to test my adapter with source code from one of the stable releases
(as opposed to attempting to use the code from the CVS source) and see my
new data source listed?
If it is true, then are the following steps all I need to do in order to
corectly implement a custom ODA driver?
1. implement ODA interfaces as is done for the flatfile
(i assume that I do not need to implement the UI plugin just to get a
data source)
2. in the plugin.xml file for my driver, have the following jar files
listed in the requires section:
org.eclipse.ui
org.eclipse.birt.core
org.eclipse.birt.data
org.eclipse.birt.data.oda
3. in the plugin.xml file for my driver, have as an extension point:
org.eclipse.birt.data.oda.odaDriverRuntime
(just as in the plugin.xml file for the flatfile)
I realize that there are tutorials on the way that will speak to this
subject... however, from past posts it seems like there are developers out
there who might know the answers? I'm a little new to the whole environment
and would appreciate any help I can get!!
Thanks alot,
Raetta
|
|
|
Re: "Newbie" Help -- Development with Milestones / Custom Data Sources [message #32916 is a reply to message #32445] |
Mon, 02 May 2005 17:56   |
Eclipse User |
|
|
|
Originally posted by: raetta.towers.embeddedplus.com
Hi again,
Well, to anyone reading this thread... earlier I made an incorrect
assumption... The reason I did not see my data sources inside the data
source browser is because I had not implemented a gui component (i.e.: I had
not created a ui -plugin.)
Should have been self-evident, I suppose!!
Thanks,
Raetta
"raetta" <raetta.towers@embeddedplus.com> wrote in message
news:d55igg$4d3$1@news.eclipse.org...
> Hi all,
>
> First of all, thanks to all the developers making this project work. I am
> new to both developing on the Eclipse platform and the open source
> community and am very impressed with the project overall.
>
> I have a few basic conceptual issues regarding development of a custom ODA
> data source... If I have done everything correctly, is it true that I
> should be able to test my adapter with source code from one of the stable
> releases (as opposed to attempting to use the code from the CVS source)
> and see my new data source listed?
>
> If it is true, then are the following steps all I need to do in order to
> corectly implement a custom ODA driver?
> 1. implement ODA interfaces as is done for the flatfile
> (i assume that I do not need to implement the UI plugin just to get a
> data source)
> 2. in the plugin.xml file for my driver, have the following jar files
> listed in the requires section:
> org.eclipse.ui
> org.eclipse.birt.core
> org.eclipse.birt.data
> org.eclipse.birt.data.oda
> 3. in the plugin.xml file for my driver, have as an extension point:
> org.eclipse.birt.data.oda.odaDriverRuntime
> (just as in the plugin.xml file for the flatfile)
>
> I realize that there are tutorials on the way that will speak to this
> subject... however, from past posts it seems like there are developers
> out there who might know the answers? I'm a little new to the whole
> environment and would appreciate any help I can get!!
>
> Thanks alot,
> Raetta
>
|
|
| | | | | |
Re: "Newbie" Help -- Development with Milestones / Custom Data Sources [message #34408 is a reply to message #34100] |
Wed, 04 May 2005 18:36   |
Eclipse User |
|
|
|
Pavithra,
Good timing! Milestone 3 is just out and it provides the scripted data set
feature that is the simplest way to integrate with POJOs. No example yet,
but its on the list to provide.
There is not yet an ODA driver for POJOs, though this would be a perfect
area where community members could contribute. (Hint, hint...)
- Paul
Paul Rogers
BIRT PMC
"Pavithra" <pavithra@optena.com> wrote in message
news:d2d7a3193997c3fce779e83455afa07f$1@www.eclipse.org...
> Paul and Raetta,
>
> Thanks a load !! Well,I have another query,I'd like to set up a Java
> object as a data source, is that supported currently? Do we have ODA
> drivers for POJO similar to flatfiles that I could implement?
> Thanks again,
> Pavithra
>
|
|
|
Re: "Newbie" Help -- Development with Milestones / Custom Data Sources [message #54803 is a reply to message #34408] |
Thu, 07 July 2005 08:38  |
Eclipse User |
|
|
|
Hi Paul,
I did some performance testing using 4000 POJOS and copying its values into
the scripted variables. Unfortunately the fetch method took about 3 minutes
to copy some values from my POJOS into the javascript variables.
new Packages.package.EmployeeDAO().getEmployees();
while(results.hasNext()){
employee = results.next();
row.name = employee.name;
row.department = employee.position.unity.department;
}
I guess a solution could be writing a proper ODA driver for Pojos...
"Paul Rogers" <progers@actuate.com> wrote in message
news:d5bj50$gu0$1@news.eclipse.org...
> Pavithra,
>
> Good timing! Milestone 3 is just out and it provides the scripted data set
> feature that is the simplest way to integrate with POJOs. No example yet,
> but its on the list to provide.
>
> There is not yet an ODA driver for POJOs, though this would be a perfect
> area where community members could contribute. (Hint, hint...)
>
> - Paul
>
> Paul Rogers
> BIRT PMC
>
> "Pavithra" <pavithra@optena.com> wrote in message
> news:d2d7a3193997c3fce779e83455afa07f$1@www.eclipse.org...
>> Paul and Raetta,
>>
>> Thanks a load !! Well,I have another query,I'd like to set up a Java
>> object as a data source, is that supported currently? Do we have ODA
>> drivers for POJO similar to flatfiles that I could implement?
>> Thanks again,
>> Pavithra
>>
>
>
|
|
|
Goto Forum:
Current Time: Sat May 10 01:07:01 EDT 2025
Powered by FUDForum. Page generated in 0.04121 seconds
|