For use by a client in a different VM?
There are plenty of threads about this in this forum.
Yes, that's it.
I'd like to lookup for the mail connection factory outside JBoss VM. But, its name doesn't seem to be bound in the global JNDI namespace (I can't see it in the jmx-console dump, except of course in the "java:" namespace).
So, how can I use it from ouside JBoss?
Why would you create a pool of connections
and then send the connection over the wire?
Connections aren't generally serializable anyway.
java: == local namespace
Create the pool on the client or create a Mail EJB.