Q:

Chat app using IOS and Java

I need to do a CHAT APP for iPhone . I just look some sites on chat app hierarchy , those all good to know such as : Chat app for IOS using Php server ..etc...
This s good enough to achieve my task . But I'm looking at IOS app with JAVA (server side) . I didn't see any samples or tutorials or materials on JAVA .
I just need to know , Can I go through on PHP only , Or else is there any possible to do on Java with some research . 
I like to do on Java . Please let me know , If any materials related to it . 
Thanks . 

A:

You can use Openfire Chat Server.
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.
Easy to configure and use.
Guide for installing Openfire Server:

http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/install-guide.html
http://www.youtube.com/watch?v=BFHiRYRx79E

