what I'd do (but it is not portable) is to create a custom resource
creating a proxy on a entity manager. Then I'd declare it in a
resources.xml. Then the name is openejb:Resource/id-of-the-resource


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-04-27 22:42 GMT+02:00 og0815 <[email protected]>:
> Hi,
>
> do you have a Brain-To-OpenEjb List Interface.
> Never seen someone so fast :-)
>
> Long story short, I'm playing around with
> https://www.granitedataservices.com/.
> And If you what to a javafx client with remote lazy loading of entities,
> they need a jndi name for the EntityManager. That's their mechanism.
>
> If this is to complicated, it's ok. It might be simpler to enhance their
> framework with a different discovery mechanism for entitymanagers.
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/EntityManager-via-JNDI-Name-tp4668998p4669000.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to