I want to create a XMPP Server for 3 features:
- Whenever any client connects to the server, the server send a message to the client.
- The server can publish a message to the client (publish/subscribe architecture).
- A client can send a message to the server.
I did some research and decided to use a Openfire server and Strophe.js for my client. Since I want my server to have custom logic, I would have to create my own external component using Java. Could you guys suggest some documentation or tutorial for creating my own external component and also I hope my approach is correct. Apart from using Openfire I also found out about Tigase, but it seems it has some compatibility issues with Strophe.js. Do you think Apache Vysper could be used for the above 3 features.