I'm not too expirianced but, the JSP pages are running on the server, in the EE container, and can get the SessionFactory object. When running from a client app, shouldn't you look up a session bean of some sort trought the JNDI, which will run on the server side, again in the EE container, and has the access to the bound Factory?
hope it help
Yes, It is the right approach. I am practising hibernate. and I am trying several things like application client, transaction attributes, security. I am just curious about why lookup is returning null.
Anybody is getting same problem (with application client)?