I'm using the turbine-fulcrum security library
http://jakarta.apache.org/turbine/fulcrum/fulcrum-security-site/index.html,
this makes uses of an Avalon Hibernate wrapper.  I'm not sure if this
component is actively maintained any longer as it has been deleted from the
HibernateExt repository, however maven will download it when you build the
security library.

Cheers
Adam

-----Original Message-----
From: Reinhard Poetz [mailto:[EMAIL PROTECTED]
Sent: Sunday, 12 December 2004 8:39 p.m.
To: [EMAIL PROTECTED]
Subject: [SOT] SingleThreaded components vs. Singletons



For a quick hack I wrote a singleton (simple Java class) that manages the
Hibernate SessionFactory. As it is only a Cocoon/Hibernate-demo I haven't
thought much about it, but if I use Hibernate in production, I would write a
SingleThreaded Avalon component. I would do it because Cocoon is based on
Avalon, but are there any technical reasons?

--
Reinhard

Reply via email to