How to connect Jms from PHP?

I am trying to implement my sites with small chat features, for example using facebook. I used Html, PHP, JQuery and Apache. I did before some exaples with JMS, but I could not figure out how to send a message to a JMS server with PHP?

For JMS, I used Weblogic.

+5
source share
2 answers

You have several options. Pass through them in order of worst and worst.

First up is Quercus , a PHP implementation of Java. PHP code running in Quercus can create Java classes and call methods on them, like PHP objects. You will be able to work with JMS in the same way as working with it in Java. I have no experience with this.

- PHP/Java Bridge. , , , Quercus, . Java API. , . Java Apache + PHP. cron script Java- , .

JMS, ActiveMQ. ? ActiveMQ API- , Stomp, API- , PHP. , Weblogic Stomp, , . Google Weblogic + ActiveMQ.

JMS. JMS - Java-. PHP Java. , PHP. ActiveMQ - . Gearman. Gearman , PHP, .

+10

, : OpenMQ ( HTTP) PHPMQ

( ) , : Gearman , , JMS ( ..). JMS .

+2

All Articles