Easybeas/OSGI using another database

View: New views
3 Messages — Rating Filter:   Alert me  

Easybeas/OSGI using another database

by Freitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

1) What should be done to use another database with easybeasn/osgi?

2) Should you just configure the file easybeans.xml and place the jdbc driver some where? Where is this place and which configurations should be altered ? Any Database would serve as an example.




Regards
Fernando

Re: Easybeas/OSGI using another database

by Florent BENOIT-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fernando Freitas wrote:
> 1) What should be done to use another database with easybeasn/osgi?
you've to configure the jdbcpool component in easybeans.xml and to
provide the JDBC driver on the OSGi platform (as a bundle)
>
> 2) Should you just configure the file easybeans.xml and place the jdbc
> driver some where?
yes, as a bundle on the OSGi framework.

> Where is this place and which configurations should be altered ?
you've to configure easybeans.xml by setting a JDBC pool to your
database hostname/port and the specified JDBC driver.

Regards,

Florent

Re: Re: Easybeas/OSGI using another database

by Freitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Florent!

Fernando