Hi rvkvino,

Have you considered the option of a stand-alone PHP Adapter that, in a continuous loop (with pauses), processes the userratexml.xml file and sends updates to Lightstreamer server?
A starting point could be this example (https://github.com/Lightstreamer/Lig...ld-adapter-php), where the generation of the message with the time and replaced by your calculations that lead to user rates.

About Java Adpater, please consider thtat a Java in-process Adapter does not need any main class since it is not a stand alone application, but it was loaded by Lightstreamer server in the initialization phase.
You could also refer to this thread, http://forums.lightstreamer.com/showthread.php?4875-Developing-amp-Running-an-Adapter-Set-Using-Eclipse-Java&highlight=debug+adapter, that explain how debug a Java Adapter in eclipse.

Regards,
Giuseppe