Hi Madhawa. We can keep these variables(string $dsn , string $user , string $password) > in registry and use registry rest API to get values at runtime. So when you > promote the application to Test and Production environments, application > will pick the environment specific values. This will not break PHP > developer experience as well. >
+1 for above answer. Moreover AFAIK we can not directly run piece of java code inside php script as php is a interpreted language. Cleanest way would be expose a web-service but there is a ugly way you can execute a jar file from php script using shell_exec() [1]. [1] http://php.net/manual/en/function.shell-exec.php Regards Roshan. -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: [email protected] *WSO2, Inc. :** wso2.com <http://wso2.com/>* lean.enterprise.middleware.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
