Monthly Archives: May 2013

How to create and drop databases dynamically from Java/JSP code

JDBC drivers allow developers to perform DDL SQL commands in their Java/JSP code including CREATE and DROP of databases. In this example we present a simple JSP page that will allow you to test these functionality. In cPanel environment the … Continue reading

Posted in Databases, Java | Leave a comment

How to call Java executable from PHP?

For PHP to find Java and see related environment variables you need to set the variables explicitly in your PHP code or use Java related variables predefined in your .bashrc or similar shell resource file. As fastcgi subprocesses do not … Continue reading

Posted in Java, PHP/Perl/Python | Leave a comment