i have created a chat application in java. the server listens to clients, receive messages from them, and send these message to other clients. i intend to embed the client program as an applet in a website that i'm developing. i am building this website using apache-php-mysql
is there a way to trigger the server program (which is a java class) through php. what i want is that as apache starts, the server program is also executed. is this possible?