 <p>Don't. Pass the PersistenceManager to your class as part of the context, instead. Relying on statics or globals is usually a bad idea, especially in a multithreaded environment like a Java servlet.</p>