I am using JDO in stateless session bean. I have the following code:

----------------------------------------------------------------------------
-
        public void setSessionContext(SessionContext sessionContext) {
            this.sessionContext = sessionContext;

            try {
              Context context = new InitialContext();
                Context env = (Context)context.lookup("java:comp/env");
                  pmf =
(PersistenceManagerFactory)env.lookup("jdo/OraclePMF");
            }
            catch(Throwable e) {
                  throw new EJBException(e);
            }
        }


----------------------------------------------------------------------------
--

I don't know how to configure PersistenceManagerFactory in SUN RI Server.
Here is what I want:
1. configure driver name for PersistenceManagerFactory.
2. configure database url for PersistenceManagerFactory.
3. configure user name for PersistenceManagerFactory.
...

Thanks in advance!


Jim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to