This document discusses different solutions for implementing services for a real-time communication service called Rubichat across Java and PHP platforms. It proposes a solution where PHP invokes Java API remotely using an RPC approach, with the Java server using Netty and messages formatted in XMPP over JSON. Performance tests showed this third solution was faster than directly accessing services from PHP. Future work could include generating data mappers and optimizing clients.