Subject: Re: extending ogsa-dai
- Next message: hongxia shi: "回复: Re: extending ogsa-dai"
- Previous message: hongxia shi: "extending ogsa-dai"
- In reply to: hongxia shi: "extending ogsa-dai"
- Next in thread: hongxia shi: "回复: Re: extending ogsa-dai"
- Reply: hongxia shi: "回复: Re: extending ogsa-dai"
From: Ally Hume (a.hume@epcc.ed.ac.uk)
Date: May 02, 2007 09:36
Hi Shi,
If the mediator database system can be accessed via JDBC then it ought
to be possible to change the configuration files for a relation
resource such that it connects to your mediator system. Configure
OGSA-DAI to access any relational resource and then edit the
corresponding data_resource_config.xml configuration file to include
the new product details, driver and url.
Details of the OGSA-DAI configuration files can be found at:
http://www.ogsadai.org.uk/documentation/ogsadai-wsrf-2.2/doc/reference/config/index.html
You will probably be especially keen on the JDBC resource accessor
config files, described in:
http://www.ogsadai.org.uk/documentation/ogsadai-wsrf-2.2/doc/reference/config/JDBCDataResourceAccessor/index.html
If, however, the mediator database system cannot be accessed via JDBC
then you will need to write a specialised data resource accessor for
it and you will also have to write your own activities to use this.
This will be a much bigger task.
See:
http://www.ogsadai.org.uk/documentation/ogsadai-wsrf-2.2/doc/tutorials/dataresource/howTo.html
for how to write a data resource accessor and
http://www.ogsadai.org.uk/documentation/ogsadai-wsrf-2.2/doc/tutorials/activitywrite/index.html
for how to write an activity.
Hopefully this documentation will be enough for you to make progress.
May I also advise you that OGSA-DAI 3.0 will be released sometime in
the next few months. How you do these things will be a bit different
in 3.0 so if you move to 3.0 you will have to port the code you write
for 2.2. We hope such code porting will not be too difficult and plan
to release documentation explaining the principles you should follow
in doing so.
Regards,
Ally Hume
OGSA-DAI Development Team
On 02/05/07, hongxia shi <shx.jnuedu@yahoo.com.cn> wrote:
> hi all,
> i want to use dai to access a mediator database system,and the mediator database system to access the oracle,that is
> dai<--->mediator database system<--->oracle
> is that possible,and if it is possible,how can i do it?
> any message would be appreciated.
> thank you!
> shi
>
>
> ---------------------------------
> 抢注雅虎免费邮箱3.5G容量,20M附件!
- Next message: hongxia shi: "回复: Re: extending ogsa-dai"
- Previous message: hongxia shi: "extending ogsa-dai"
- In reply to: hongxia shi: "extending ogsa-dai"
- Next in thread: hongxia shi: "回复: Re: extending ogsa-dai"
- Reply: hongxia shi: "回复: Re: extending ogsa-dai"