Java is an object oriented programming language and php is a open source programming language. How mysql database will communicate with these two programs?