| 
					
						 Currently, I have :
 sessionFactory = new Configuration().configure().buildSessionFactory();
 
 with the hibernate.cfg.xml.
 
 I need to move this into a stateless session bean.
 the manual says:
 From setSessionContext()
 
 1. Call Hibernate.configure()  
 
 2. Obtain a JNDI InitialContext
 
 3. look up the SessionFactory in the JNDI context and save it to an instance variable
 --------------------------------------------------
 
 I don't quite understand how to do step 2 and 3
 
 BTW, I am using WebSphere Studio.
 
 Thanks you much for your help 
					
  
						
					 |