Hi,
I'm wondering is that possible to use hibernate remotely. What I want to do is to have a hibernate service running on an application server and then retrive the sessionFactory from another machine so that I can establish a session from that machine.
I deployed hibernate to Jboss, and the SessionFactory is binded to:
+- hibernate (class: org.jnp.interfaces.NamingContext)
+- HibernateFactory (class: net.sf.hibernate.impl.SessionFactoryImpl)
But when I try to retrive the SessionFactory instance from another machine via the JNDI lookup, I always get null object for that JNDI name.
So what should I do?
Thanks a lot/Mark
|