Openfire+jboss

I want to create a xmpp server with jboss,but openfire has own sofeware, how can i do

thank you

You might want to clarify what you mean.

JBoss is an application server for JEE apps. OpenFire is not a JEE app and runs as a server on its own. What is it you are trying to accomplish?

yes, my mean is “how to create a java ee server with xmpp” , what lib can i use?