Access to the Maxima



How to access to the Maxima using PHP, Java or other programming
language? I want to use Maxima in my software to perform some
calculations. Do you have any documentation about this?
Thanks.