How to lookup PersistenceManagerFactory for JDO in WebDynpro?
I tried the following scenario to use JDO :
Servlet -> Session Bean -> JDO. (i.e., A servlet calls JDO using Session bean).
I have used the following JNDI lookup to call the JDO's default PMF.
It works fine.
Now I am trying to use the JDO in my Web Dynpro Project:
The following is my current scenario
WebDynpro ->Command Bean -> Session Bean -> JDO.
I am using the same JNDI lookup.[i.e., (PersistenceManagerFactory) ctx.lookup("java:comp/env/jdo/defaultPMF");]
But,I can't resolve the JNDI lookup when using webdynpro as presentation layer.
Can anybody pls help me?
Thanks in advance,