> -----Original Message-----
> From: Jeremy Quinn [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 14, 2003 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Flow Database stuff ( The new FOM? )
>
>
>
> On Sunday, July 13, 2003, at 10:40 AM, Reinhard Pötz wrote:
>
> >> However, once you have triggered the view layer with
> >> SendPageAndWait(),
> >> control does not return to the flow layer until the Response has been
> >> sent and the next Request received, thus loosing you the
> >> opportunity to
> >> close the Hibernate Session from the Flow layer before the
> >> Response is
> >> sent.
> >
> > Chris' experimental implementation of cocoon.getComponent() should
> > solve
> > this problem.
> >
> >
>
> I am not very confidant with the lifecycle of Cocoon/Avalon components,
> would someone be kind enough to recommend which methods I should
> ideally write to implement a (Hibernate Factory) component, and at
> which stage in FlowScript processing they get called?
>
> TIA
>
> regards Jeremy
>
>
1) There is an Avalon Hibernate Factory in the Hibernate_ext contributed
package (see the Hibernate project at Sourceforge), and one in the Hibernate
examples on the Wiki.
2) You definitely need the paper:
http://avalon.apache.org/developing/developing-with-avalon.html
Download the printer-friendly version, save it to disk, load it in an
editor, remove all <[CDATA[ opening and closing tags, reload it in your
browser, and suddenly a lot of code examples will appear. This problem was
posted on the Avalon dev list about three weeks ago.
Hugo