I am trying to customize my jboss server (I don't need the EJB or servlet container) to have only the services I need (reachable from a MBean). Until now I was able to deploy the TransactionManager and DB DataSources but I need to access queues located on a remote JBoss server. How can I publish the references of the remote queues and factories into the local JNDI so I can access them from my MBean (using default jndi context).
You can use the external context mbean
to add part of remote jndi into local jndi.
There are examples of this in this forum
or the jmx forum if you use search.