0

My Android app needs both downstream and upstream from and to the server. So I decide to use GCM XMPP in my web server. But does XMPP support php web server? If it supports, is there any advantage of using J2EE web server over PHP web server? Any idea will be appreciated.

Sotirios Delimanolis
  • 252,278
  • 54
  • 635
  • 683
MapleLover
  • 665
  • 5
  • 7
  • 1
    Use the platform you're more familiar with. The Web bits are but support infrastructure for the Android app. Also, when cosidering cheap web hosting, PHP is more likely to be supported than Java. – Seva Alekseyev Sep 29 '13 at 15:15
  • Thx Seva, I thought android uses Java and J2EE would be a better choice(at lease both using Java), but I actually already implemented web server using php, so can you suggest me some gcm xmpp example using php as web server? – MapleLover Sep 29 '13 at 15:20
  • 1
    Don't have one on hand, look it up. Google is as open to you as it is for me. – Seva Alekseyev Sep 29 '13 at 15:24
  • Thx Seva, I found one, if anyone like me is searching for a tutorial using php as gcm server, pls refer to http://stackoverflow.com/questions/11242743/gcm-with-php-google-cloud-messaging – MapleLover Sep 29 '13 at 15:27

1 Answers1

1

Use the platform you're more familiar with. The Web bits are but support infrastructure for the Android app. Also, when cosidering cheap web hosting, PHP is more likely to be supported than Java.

Seva Alekseyev
  • 55,897
  • 22
  • 151
  • 252