Well I can't find a better solution... unless jboss allow me to obtain an EntityManageFactory via remote JNDI. tried and failed.