Skip to main content



      Home
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 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #33330 is a reply to message #32916] Tue, 03 May 2005 02:45 Go to previous messageGo to next message
Eclipse UserFriend
Hey !

Well, I'm a newer newbie than you. Could you please list out some
tutorials on ODA and custom data sources for me?

Thank you,
Pavithra
Re: "Newbie" Help -- Development with Milestones / Custom Data Sources [message #33502 is a reply to message #33330] Tue, 03 May 2005 12:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: raetta.towers.embeddedplus.com

Hi Pavithra,

Actually, there are currently no tutorials for this subject online. From
past posts to the newsgroup I know that the primary developers are working
on tutorials as time permits. I learned how to implement custom data sources
from downloading and attempting to build the CVS source code. If you decide
to download the source code, pay attention to the plug-ins for the jdbc and
flatfile drivers:

org.eclipse.birt.report.data.oda.flatfile

org.eclipse.birt.report.data.oda.flatfile.ui

org.eclipse.birt.report.data.oda.jdbc

org.eclipse.birt.report.data.oda.jdbc.ui

These plug-ins will give you a good idea of how you should implement your
custom data sources. Note that the CVS source changes frequently, so my
advice is to download a stable milestone build for development and testing,
while keeping the CVS source code for a reference.

Hope that helps you get started a bit!

Raetta

"Pavithra" <pavithra@optena.com> wrote in message
news:98c825ff1103d1efab84a3f2b4b952f6$1@www.eclipse.org...
> Hey !
>
> Well, I'm a newer newbie than you. Could you please list out some
> tutorials on ODA and custom data sources for me?
>
> Thank you,
> Pavithra
>
Re: "Newbie" Help -- Development with Milestones / Custom Data Sources [message #33674 is a reply to message #33502] Tue, 03 May 2005 17:02 Go to previous messageGo to next message
Eclipse UserFriend
Pavithra & Raetta,

We are in the process of creating an ODA tutorial and of finalizing some
revisions to the ODA framework itself. We may have something on the web site
in the next couple of weeks. I'll post partial material sooner if possible.

- Paul

Paul Rogers
BIRT PMC

"raetta" <raetta.towers@embeddedplus.com> wrote in message
news:d589pk$g4r$1@news.eclipse.org...
> Hi Pavithra,
>
> Actually, there are currently no tutorials for this subject online. From
> past posts to the newsgroup I know that the primary developers are working
> on tutorials as time permits. I learned how to implement custom data
> sources from downloading and attempting to build the CVS source code. If
> you decide to download the source code, pay attention to the plug-ins for
> the jdbc and flatfile drivers:
>
> org.eclipse.birt.report.data.oda.flatfile
>
> org.eclipse.birt.report.data.oda.flatfile.ui
>
> org.eclipse.birt.report.data.oda.jdbc
>
> org.eclipse.birt.report.data.oda.jdbc.ui
>
> These plug-ins will give you a good idea of how you should implement your
> custom data sources. Note that the CVS source changes frequently, so my
> advice is to download a stable milestone build for development and
> testing, while keeping the CVS source code for a reference.
>
> Hope that helps you get started a bit!
>
> Raetta
>
> "Pavithra" <pavithra@optena.com> wrote in message
> news:98c825ff1103d1efab84a3f2b4b952f6$1@www.eclipse.org...
>> Hey !
>>
>> Well, I'm a newer newbie than you. Could you please list out some
>> tutorials on ODA and custom data sources for me?
>>
>> Thank you,
>> Pavithra
>>
>
>
Re: "Newbie" Help -- Development with Milestones / Custom Data Sources [message #34100 is a reply to message #33674] Wed, 04 May 2005 01:17 Go to previous messageGo to next message
Eclipse UserFriend
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 #34134 is a reply to message #34100] Wed, 04 May 2005 02:01 Go to previous messageGo to next message
Eclipse UserFriend
Okay, I gather from previous posts that I should be using scripting to call
POJOs. Are scripted data sources available yet ?

Thank you,
Pavithra

"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 #34408 is a reply to message #34100] Wed, 04 May 2005 18:36 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>>
>
>
Previous Topic:How to include browser javascript in my report?
Next Topic:PDF format with ReportRunner
Goto Forum:
  


Current Time: Sat May 10 01:07:01 EDT 2025

Powered by FUDForum. Page generated in 0.04121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top