Hi, Appfactory supports data sources to be defined and be used in the Java applications.
In the process of enabling the PHP app type support in Appfactory, we need to allow users(i.e.developers) to create data sources in Appfactory and use them directly inside their PHP applications. PHP applications use the odbc_connect ( string $dsn , string $user , string $password [, int $cursor_type ] ) to connect to a database. There are third party libraries that enable Java inside PHP scripts [1]. An example for JNDI look-up in inside PHP is in [2]. In order to allow data sources to be called directly from the PHP apps what are the preferable options available? You ideas are welcome. [1] - http://php-java-bridge.sourceforge.net/pjb/ [2] - http://php-java-bridge.sourceforge.net/pjb/examples/source.php?source=documentClient.php -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726* Blog* - *classdeffound.blogspot.com
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture