why do you want to avoid the clients using jndi on the HQ server?
As far as i know its not possible to remotely bind objects to the jndi service, however this is probably a question best suited for the AS guys who write it.
If you use the JCA connection factory, i.e. looking up "JmsXA", you can configure this to connect to a remote HornetQ server, have a look at the javaee JCA example shipped with HornetQ
Sorry on reviving an old topic.
BJ ... have you managed to make the standalone server to register its objects with the JNDI of JBoss?
That's what I would need right now...as I have a standalone server that registers its objects in its own JNDI and JBoss complains it can't find and object that hornetQ registered.
Thx.