> I am not using hsqldb nor andromda, but your approach sounds correct.
> However I'm not sure hsqldb parameters declared in cocoon.xconf are
> propagated by magic into your appCtx, if this is what you expect to
> happen. What I usually do is expose my datasources as jndi resources
> defined in my container (TC), and lookup them within the appCtx file.

Ok that's what I was afraid of : when my application context is
initialized, I get some SQLException errors because it can't find my
database. Because if I'm not wrong, cocoon.xconf is processed after
web.xml so hsqldb-server instance is setup after spring application
context. So it seems that I can't use hsqldb internally even if it's
very interesting because it can really simplify application deployment
from the user's point of view : no need to configure any database or
datasource externally, the application does it on its own.
It seems I will have to use some external database anyway...

> Besides, I know people are using Hibernate, Spring and Cocoon
> together, but really, you should try the Spring support forum
> (http://forum.springframework.org/), where all questions about
> Hibernate and lazy loading exceptions (and when to use
> OpenSessionInViewFilter pattern) are being - most of the time - taken
> care of.
> Cocoon's flow is only the tip of the iceberg.

Yes but most people use Struts as presentation layer, not Cocoon, so
there are some... particularities...

-- 
Sebastien ARBOGAST

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to