[Wsf-general] Data service - Connection

Diluka Moratuwage diluka at wso2.com
Tue Feb 27 23:14:22 PST 2007


Hi all,

        This is regarding the connection part of the configuration file.

        For connecting to a "mysql" database, the following information
is needed.

        -host
        -username
        -password
        -database
        -port
        -socket

        So i would suggest if we come up with the connection part of the
config file something like this,

<connection dbtype="mysql|derby|sqlserver">
        <property name="host"></property>
        ..............
        ..............
</connection>

        The dbtype attribute specifies which type of a database system to
use.
And then the properties relevent for that particular database is specified.

        So we have to comeup with all the valid property names for the
configuration file, depending on the type of database system used.
And as an initial stage i think we should support mysql for axis2/c and
for axis2 its derby.

        Any suggestions please...

Thanks,
Diluka.





More information about the Wsf-general mailing list