1. Injection of a Session forum.hibernate.org |
2. Dependecy injection of SessionFactory forum.hibernate.orgHi all, i'm writing a reusable component which uses Hibernate for persistance. In general its a simple service which is implemented as a java singleton. I dont want to make this component a J2EE one (which could configure my persistance stuff of course) or make use of Spring (HibernateTemplate). For now i only used Hibernate withing Cocoon or Struts ( HibernateFilter ... |